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

Bill Allombert <[email protected]> Thu, 26 Mar 2026 18:01:58 +0100
Newsgroups gmane.comp.mathematics.pari.devel
Message-ID <acVmhoce63zERu8H@seventeen>
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.