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.
int RTOp_TOp_random_vector_construct (RTOp_value_type lbnd, RTOp_value_type ubnd, struct RTOp_RTOp *op)
int RTOp_TOp_random_vector_destroy (struct RTOp_RTOp *op)
int RTOp_TOp_random_vector_set_bounds (RTOp_value_type lbnd, RTOp_value_type ubnd, struct RTOp_RTOp *op)
RTOp_RTOp_vtbl_t RTOp_TOp_random_vector_vtbl


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.


Function Documentation

int RTOp_TOp_random_vector_construct ( RTOp_value_type  lbnd,
RTOp_value_type  ubnd,
struct RTOp_RTOp op 
)

Definition at line 189 of file RTOp_TOp_random_vector.c.

int RTOp_TOp_random_vector_destroy ( struct RTOp_RTOp op  ) 

Definition at line 201 of file RTOp_TOp_random_vector.c.

int RTOp_TOp_random_vector_set_bounds ( RTOp_value_type  lbnd,
RTOp_value_type  ubnd,
struct RTOp_RTOp op 
)

Definition at line 209 of file RTOp_TOp_random_vector.c.


Variable Documentation

struct RTOp_RTOp_vtbl_t RTOp_TOp_random_vector_vtbl

Definition at line 176 of file RTOp_TOp_random_vector.c.


Generated on Tue Jul 13 09:34:50 2010 for MOOCHO (Single Doxygen Collection) by  doxygen 1.4.7