Macaulay2
»
Documentation
Packages
»
Macaulay2Doc
::
List + List
next

previous

forward

backward
 up 
index

toc
List + List  sum of two vectors
Synopsis
Operator:
+
Usage:
v+w
Inputs:
v
,
a
list
, a list interpreted as a vector
w
,
a
list
, a list interpreted as a vector
Outputs:
a
list
, the sum of the two vectors
Description
i1 : {1,2,3} + {1,5,6} o1 = {2, 7, 9} o1 : List
Ways to use this method:
List + List
 sum of two vectors