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_random_vector.h File Reference
#include "RTOp.h"
Include dependency graph for RTOp_TOp_random_vector.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Detailed Description

Generate a random vector.

targ_vec(i) <- rand(lbnd,ubnd), i = 1...n.

This transformation operator sets the elements of a vector to random numbers between the lower bound lbnd and the upper bound ubnd using the standard C function rand().

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

Definition in file RTOp_TOp_random_vector.h.