sum List objects Qestion (each component in list is a matrix)

1 view
Skip to first unread message

Ou Zhang

unread,
Jan 12, 2011, 6:18:49 PM1/12/11
to mad...@googlegroups.com
Hi, everyone,
 
I want to get a sum from a lists. How should I do?
Here is a example:
T = list(a,b,c,d,e) => so 5 objects in a list-T
a=b=c=d=e= n*m numeric matrix

I want to get the sum of the a,b,c,d,e =>total
total = a+b+c+d+e
and total is also n*m numeric matrix.

Thanks!


--
Ou Zhang

Douglas Bates

unread,
Jan 16, 2011, 10:22:20 AM1/16/11
to mad...@googlegroups.com
See

?Reduce

Reply all
Reply to author
Forward
0 new messages