ROL
|
#include "ROL_Vector.hpp"
#include "ROL_BoundConstraint.hpp"
#include "ROL_Elementwise_Function.hpp"
Go to the source code of this file.
Namespaces | |
namespace | ROL |
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]. | |
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. | |