RTOpPack: Extra C/C++ Code for Vector Reduction/Transformation Operators
Version of the Day
|
#include "RTOp.h"
Go to the source code of this file.
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.