ROL
Classes | Functions
Linear Algebra Interface

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...
 

Detailed Description

ROL's linear algebra or vector space interface.

Function Documentation

◆ RandomizeVector()

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].

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().