Top
Back: permute
Forward: grwalk_lib
FastBack:
FastForward:
Up: ellipticcovers_lib
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document

D.4.6.10 lsum

Procedure from library ellipticcovers.lib (see ellipticcovers_lib).

Usage:
lsum(L); L list

Assume:
L is a list of things with the binary operator + defined.

Return:
The sum of the elements of L.

Theory:
Sums the elements of a list.

Eventually this will be deleted and become a more efficient kernel function.

Example:
 
LIB "ellipticcovers.lib";
list L = 1,2,3,4,5;
lsum(L);
==> 15

Top Back: permute Forward: grwalk_lib FastBack: FastForward: Up: ellipticcovers_lib Top: Singular Manual Contents: Table of Contents Index: Index About: About this document
            User manual for Singular version 4-0-3, 2016, generated by texi2html.