Add the values in an array
Add the values in an array
(OP)
I have a 2x9 array and I want to have Mathcad 14 sum up all the elements. I've gone through the different types of summations in Mathcad and I haven't gotten any of them to work. I did manage to get what I want by turning each column of the matrix into a vector using the column command (M<> in the matrix toolbar) and then adding up each vector sum(ctrl-4). But it seems like this method shouldn't be necessary.





RE: Add the values in an array
The attached worksheet gives a few other ways it could be done ...
RE: Add the values in an array
RE: Add the values in an array
RE: Add the values in an array
Cheers
Greg Locock
SIG:Please see FAQ731-376: Eng-Tips.com Forum Policies for tips on how to make the best use of Eng-Tips.