Top
Back: iniD
Forward: reslist
FastBack: reesclos_lib
FastForward: resolve_lib
Up: resbin_lib
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document

D.4.22.30 sumlist

Procedure from library resbin.lib (see resbin_lib).

Usage:
sumlist(L1,L2); L1,L2 lists, (size(L1)==size(L2))

Return:
a list, sum of L1 and L2

Example:
 
LIB "resbin.lib";
list L1=1,2,3;
list L2=5,9,7;
sumlist(L1,L2);
==> [1]:
==>    6
==> [2]:
==>    11
==> [3]:
==>    10


Top Back: iniD Forward: reslist FastBack: reesclos_lib FastForward: resolve_lib Up: resbin_lib Top: Singular Manual Contents: Table of Contents Index: Index About: About this document
            User manual for Singular version 3-1-1, Feb 2010, generated by texi2html.