Sum {lazy.symbolic} | R Documentation |
Symbolic Sum of All the Elements
Sum(obj)
obj |
The object whose elements are to be summed. |
This is equivalent to Reduce( Plus, obj )
.
The symbolic sum of obj.
A <- demomat(3,3,root="a")
Sum(A)
Sum( diag(A) )
Sum( diag(matTimes(t(A),A)) )