ROL
|
#include <InnerProductMatrix.hpp>
Public Member Functions | |
InnerProductMatrix (const std::vector< Real > &U, const std::vector< Real > &V, const std::vector< Real > &w, const int a=1) | |
InnerProductMatrix (const std::vector< Real > &U, const std::vector< Real > &V, const std::vector< Real > &w, const std::vector< Real > &a) | |
InnerProductMatrix (InnerProductMatrix< Real > *ipm) | |
void | update (const std::vector< Real > &a) |
virtual | ~InnerProductMatrix () |
void | apply (ROL::Ptr< const std::vector< Real > > xp, ROL::Ptr< std::vector< Real > > bp) |
void | applyadd (ROL::Ptr< const std::vector< Real > > xp, ROL::Ptr< std::vector< Real > > bp) |
void | applyaddtimes (ROL::Ptr< const std::vector< Real > > xp, ROL::Ptr< std::vector< Real > > bp, Real factor) |
Real | inner (ROL::Ptr< const std::vector< Real > > up, ROL::Ptr< const std::vector< Real > > vp) |
Compute the inner product \(u^\top M v\). More... | |
virtual void | solve (ROL::Ptr< const std::vector< Real > > bp, ROL::Ptr< std::vector< Real > > xp) |
virtual Real | inv_inner (ROL::Ptr< const std::vector< Real > > up, ROL::Ptr< const std::vector< Real > > vp) |
Protected Attributes | |
const int | nq_ |
const int | ni_ |
const std::vector< Real > | U_ |
const std::vector< Real > | V_ |
const std::vector< Real > | w_ |
std::vector< Real > | M_ |
Definition at line 11 of file InnerProductMatrix.hpp.
InnerProductMatrix< Real >::InnerProductMatrix | ( | const std::vector< Real > & | U, |
const std::vector< Real > & | V, | ||
const std::vector< Real > & | w, | ||
const int | a = 1 |
||
) |
Definition at line 66 of file InnerProductMatrix.hpp.
References InnerProductMatrix< Real >::M_, InnerProductMatrix< Real >::ni_, InnerProductMatrix< Real >::nq_, InnerProductMatrix< Real >::U_, InnerProductMatrix< Real >::V_, and InnerProductMatrix< Real >::w_.
InnerProductMatrix< Real >::InnerProductMatrix | ( | const std::vector< Real > & | U, |
const std::vector< Real > & | V, | ||
const std::vector< Real > & | w, | ||
const std::vector< Real > & | a | ||
) |
Definition at line 82 of file InnerProductMatrix.hpp.
References InnerProductMatrix< Real >::M_, InnerProductMatrix< Real >::ni_, InnerProductMatrix< Real >::nq_, InnerProductMatrix< Real >::U_, InnerProductMatrix< Real >::V_, and InnerProductMatrix< Real >::w_.
InnerProductMatrix< Real >::InnerProductMatrix | ( | InnerProductMatrix< Real > * | ipm | ) |
|
virtual |
Definition at line 98 of file InnerProductMatrix.hpp.
void InnerProductMatrix< Real >::update | ( | const std::vector< Real > & | a | ) |
Definition at line 133 of file InnerProductMatrix.hpp.
void InnerProductMatrix< Real >::apply | ( | ROL::Ptr< const std::vector< Real > > | xp, |
ROL::Ptr< std::vector< Real > > | bp | ||
) |
Definition at line 102 of file InnerProductMatrix.hpp.
void InnerProductMatrix< Real >::applyadd | ( | ROL::Ptr< const std::vector< Real > > | xp, |
ROL::Ptr< std::vector< Real > > | bp | ||
) |
Definition at line 113 of file InnerProductMatrix.hpp.
void InnerProductMatrix< Real >::applyaddtimes | ( | ROL::Ptr< const std::vector< Real > > | xp, |
ROL::Ptr< std::vector< Real > > | bp, | ||
Real | factor | ||
) |
Definition at line 123 of file InnerProductMatrix.hpp.
Real InnerProductMatrix< Real >::inner | ( | ROL::Ptr< const std::vector< Real > > | up, |
ROL::Ptr< const std::vector< Real > > | vp | ||
) |
Compute the inner product \(u^\top M v\).
Definition at line 151 of file InnerProductMatrix.hpp.
References ROL::apply.
|
inlinevirtual |
Reimplemented in InnerProductMatrixSolver< Real >.
Definition at line 43 of file InnerProductMatrix.hpp.
|
inlinevirtual |
Reimplemented in InnerProductMatrixSolver< Real >.
Definition at line 47 of file InnerProductMatrix.hpp.
|
protected |
Definition at line 52 of file InnerProductMatrix.hpp.
Referenced by InnerProductMatrix< Real >::InnerProductMatrix().
|
protected |
Definition at line 53 of file InnerProductMatrix.hpp.
Referenced by InnerProductMatrix< Real >::InnerProductMatrix().
|
protected |
Definition at line 54 of file InnerProductMatrix.hpp.
Referenced by InnerProductMatrix< Real >::InnerProductMatrix().
|
protected |
Definition at line 55 of file InnerProductMatrix.hpp.
Referenced by InnerProductMatrix< Real >::InnerProductMatrix().
|
protected |
Definition at line 56 of file InnerProductMatrix.hpp.
Referenced by InnerProductMatrix< Real >::InnerProductMatrix().
|
protected |
Definition at line 58 of file InnerProductMatrix.hpp.
Referenced by InnerProductMatrix< Real >::InnerProductMatrix().