RTOp_ROp_sum.h File Reference

#include "RTOp.h"
Include dependency graph for RTOp_ROp_sum.h:

Go to the source code of this file.


Detailed Description

Reduction operator for taking the sum of the elements of a vector.

targ_obj <- sum( v[0](i), i=1...n )

This operator is only defined to allow one vector argument (num_vecs == 1) v[0] but it can handle a dense or sparse vector.

Definition in file RTOp_ROp_sum.h.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends
Generated on Wed Apr 13 10:09:09 2011 for RTOpPack: Extra C/C++ Code for Vector Reduction/Transformation Operators by  doxygen 1.6.3