RTOpPack: Extra C/C++ Code for Vector Reduction/Transformation Operators Version of the Day
Reduction operator for taking the sum of the elements of a vector.
targ_obj <- sum( v(i), i=1...n )
This operator is only defined to allow one vector argument (
num_vecs == 1)
v but it can handle a dense or sparse vector.
Definition in file RTOp_ROp_sum.h.