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

D.15.8.29 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: primdecint_lib FastForward: resjung_lib Up: resbin_lib Top: Singular Manual Contents: Table of Contents Index: Index About: About this document
            User manual for Singular version 3-1-2, Oct 2010, generated by texi2html.