Bill Allombert on Thu, 26 Mar 2026 18:02:02 +0100


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: add listsum( L, {n=#L}, {s=1} )


On Tue, Mar 24, 2026 at 11:53:26AM +0100, Ruud H.G. van Tol wrote:
> Consider adding listsum( L, {i1 = 1}, {i2 = #L} ).
> 
> Much like vecsum( Vec( L[ i1 .. i2 ] ) ) would be,
> but without copying any data.

Rather I just changed vecsum and vecprod to allow t_LIST in commit
bb57edd30e55ee386794d80bf7d3556cb9af266d

Thanks for the suggestion!

Cheers,
Bill.