|
ROL
|
ROL's linear algebra or vector space interface. More...
Classes | |
| class | ROL::ElementwiseVector< Real > |
| Intermediate abstract class which does not require users implements plus, set, scale, axpy, norm, dot, or zero if they implement the three elementwise functions: applyUnary, applyBinary, and reduce. More... | |
| 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... | |
| class | ROL::SimulatedVector< Real > |
| Defines the linear algebra of a vector space on a generic partitioned vector where the individual vectors are distributed in batches defined by ROL::BatchManager. This is a batch-distributed version of ROL::PartitionedVector. 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... | |
| template<class Real > | |
| void | ROL::RandomizeFeasibleVector (Vector< Real > &x, BoundConstraint< Real > &bnd) |
| Fill a ROL::Vector with uniformly-distributed random numbers which satisfy the supplied bound constraint. 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
\[ x_i \in \mathcal{U}(l,u)\;\forall\l i \]
Definition at line 64 of file ROL_RandomVector.hpp.
References ROL::Vector< Real >::applyUnary().
Referenced by ROL::OptimizationProblem< Real >::check(), ROL::OptimizationProblem< Real >::checkObjectiveGradient(), ROL::OptimizationProblem< Real >::checkObjectiveHessVec(), and main().
| void ROL::RandomizeFeasibleVector | ( | Vector< Real > & | x, |
| BoundConstraint< Real > & | bnd | ||
| ) |
Fill a ROL::Vector with uniformly-distributed random numbers which satisfy the supplied bound constraint.
RandomizeFeasibleVector
\[ x_i \in \mathcal{U}(l_i,u_i)\;\forall\l i \]
Definition at line 79 of file ROL_RandomVector.hpp.
References ROL::Vector< Real >::applyUnary(), ROL::Vector< Real >::axpy(), ROL::BoundConstraint< Real >::getLowerVectorRCP(), ROL::BoundConstraint< Real >::getUpperVectorRCP(), ROL::Vector< Real >::plus(), and ROL::Vector< Real >::set().
1.8.13