RTOpPack: Extra C/C++ Code for Vector Reduction/Transformation Operators  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
RTOp_TOp_add_scalar.h File Reference
#include "RTOp.h"
Include dependency graph for RTOp_TOp_add_scalar.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Detailed Description

Add a scalar to the elements of a vector.

targ_vec(i) <- targ_vec(i) + alpha, for i = 1...n.

This operator is only defined for a self transformation (num_vecs == 0).

Definition in file RTOp_TOp_add_scalar.h.