|
ROL
|
Provides the std::vector implementation of the ROL::Vector interface that handles scalings in the inner product. Also see ROL::PrimalScaledStdVector. More...
#include <ROL_ScaledStdVector.hpp>
Public Member Functions | |
| DualScaledStdVector (const Ptr< std::vector< Element > > &std_vec, const Ptr< std::vector< Element > > &scaling_vec) | |
| Real | dot (const Vector< Real > &x) const |
| Ptr< Vector< Real > > | clone () const |
| const Vector< Real > & | dual () const |
Private Types | |
| typedef std::vector< Element >::size_type | uint |
Private Attributes | |
| Ptr< std::vector< Element > > | scaling_vec_ |
| Ptr< PrimalScaledStdVector< Real > > | primal_vec_ |
| bool | isDualInitialized_ |
Provides the std::vector implementation of the ROL::Vector interface that handles scalings in the inner product. Also see ROL::PrimalScaledStdVector.
Definition at line 123 of file ROL_ScaledStdVector.hpp.
|
private |
Definition at line 125 of file ROL_ScaledStdVector.hpp.
|
inline |
Definition at line 135 of file ROL_ScaledStdVector.hpp.
|
inline |
Definition at line 140 of file ROL_ScaledStdVector.hpp.
References ROL::StdVector< Real, Element >::getVector().
Referenced by main().
|
inline |
Definition at line 152 of file ROL_ScaledStdVector.hpp.
References ROL::StdVector< Real, Element >::getVector(), and ROL::DualScaledStdVector< Real, Element >::scaling_vec_.
Referenced by main().
|
inline |
Definition at line 158 of file ROL_ScaledStdVector.hpp.
References ROL::StdVector< Real, Element >::getVector(), ROL::DualScaledStdVector< Real, Element >::isDualInitialized_, ROL::DualScaledStdVector< Real, Element >::primal_vec_, and ROL::DualScaledStdVector< Real, Element >::scaling_vec_.
Referenced by main().
|
private |
Definition at line 129 of file ROL_ScaledStdVector.hpp.
Referenced by ROL::DualScaledStdVector< Real, Element >::clone(), and ROL::DualScaledStdVector< Real, Element >::dual().
|
mutableprivate |
Definition at line 130 of file ROL_ScaledStdVector.hpp.
Referenced by ROL::DualScaledStdVector< Real, Element >::dual().
|
mutableprivate |
Definition at line 131 of file ROL_ScaledStdVector.hpp.
Referenced by ROL::DualScaledStdVector< Real, Element >::dual().