|
ROL
|
Provides the std::vector implementation of the ROL::Vector interface that handles scalings in the inner product. Also see ROL::DualScaledStdVector. More...
#include <ROL_ScaledStdVector.hpp>
Public Member Functions | |
| PrimalScaledStdVector (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< DualScaledStdVector< Real > > | dual_vec_ |
| bool | isDualInitialized_ |
Provides the std::vector implementation of the ROL::Vector interface that handles scalings in the inner product. Also see ROL::DualScaledStdVector.
Definition at line 68 of file ROL_ScaledStdVector.hpp.
|
private |
Definition at line 70 of file ROL_ScaledStdVector.hpp.
|
inline |
Definition at line 80 of file ROL_ScaledStdVector.hpp.
|
inline |
Definition at line 85 of file ROL_ScaledStdVector.hpp.
References ROL::StdVector< Real, Element >::getVector().
Referenced by main().
|
inline |
Definition at line 97 of file ROL_ScaledStdVector.hpp.
References ROL::StdVector< Real, Element >::getVector(), and ROL::PrimalScaledStdVector< Real, Element >::scaling_vec_.
Referenced by main().
|
inline |
Definition at line 103 of file ROL_ScaledStdVector.hpp.
References ROL::PrimalScaledStdVector< Real, Element >::dual_vec_, ROL::StdVector< Real, Element >::getVector(), ROL::PrimalScaledStdVector< Real, Element >::isDualInitialized_, and ROL::PrimalScaledStdVector< Real, Element >::scaling_vec_.
Referenced by main().
|
private |
Definition at line 74 of file ROL_ScaledStdVector.hpp.
Referenced by ROL::PrimalScaledStdVector< Real, Element >::clone(), and ROL::PrimalScaledStdVector< Real, Element >::dual().
|
mutableprivate |
Definition at line 75 of file ROL_ScaledStdVector.hpp.
Referenced by ROL::PrimalScaledStdVector< Real, Element >::dual().
|
mutableprivate |
Definition at line 76 of file ROL_ScaledStdVector.hpp.
Referenced by ROL::PrimalScaledStdVector< Real, Element >::dual().