ROL
|
ROL's linear algebra or vector space interface. More...
Classes | |
class | ROL::MultiVector< Real > |
Provides a container and operations on multiple ROL vectors for use with other Trilinos packages which require multivectors. More... | |
class | ROL::MultiVectorDefault< Real > |
Default implementation of the ROL::MultiVector container class. More... | |
class | ROL::PartitionedVector< Real > |
Defines the linear algebra of vector space on a generic partitioned vector. More... | |
class | ROL::Vector< Real > |
Defines the linear algebra or vector space interface. More... | |
class | ROL::Vector_SimOpt< Real > |
Defines the linear algebra or vector space interface for simulation-based optimization. More... | |
Functions | |
template<class Real > | |
void | ROL::RandomizeVector (Vector< Real > &x, const Real &lower=0.0, const Real &upper=1.0) |
Fill a ROL::Vector with uniformly-distributed random numbers in the interval [lower,upper]. More... | |
ROL's linear algebra or vector space interface.
void ROL::RandomizeVector | ( | Vector< Real > & | x, |
const Real & | lower = 0.0 , |
||
const Real & | upper = 1.0 |
||
) |
Fill a ROL::Vector with uniformly-distributed random numbers in the interval [lower,upper].
RandomizeVector
Definition at line 60 of file ROL_RandomVector.hpp.
References ROL::Vector< Real >::applyUnary().
Referenced by ROL::OptimizationProblem< Real >::checkObjectiveGradient(), ROL::OptimizationProblem< Real >::checkObjectiveHessVec(), and main().