57 throw std::invalid_argument(
"random_vector(...) : Error, "
58 "v can not be NULL" );
60 throw std::invalid_argument(
"random_vector(...) : Error, "
61 "l can not be greater than u" );
63 *itr++ = l + (
double(rand())/RAND_MAX) * (u -l);
void random_vector(value_type l, value_type u, DVectorSlice *v)
C++ Standard Library compatable iterator class for accesing nonunit stride arrays of data...
void seed_random_vector_generator(unsigned int)
FortranTypes::f_dbl_prec value_type
Typedef for the value type of elements that is used for the library.
const f_int f_dbl_prec const f_int f_int const f_int f_int const f_dbl_prec & u