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 20 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 75 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 91 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 107 of file InnerProductMatrix.hpp.
void InnerProductMatrix< Real >::update | ( | const std::vector< Real > & | a | ) |
Definition at line 142 of file InnerProductMatrix.hpp.
void InnerProductMatrix< Real >::apply | ( | ROL::Ptr< const std::vector< Real > > | xp, |
ROL::Ptr< std::vector< Real > > | bp | ||
) |
Definition at line 111 of file InnerProductMatrix.hpp.
void InnerProductMatrix< Real >::applyadd | ( | ROL::Ptr< const std::vector< Real > > | xp, |
ROL::Ptr< std::vector< Real > > | bp | ||
) |
Definition at line 122 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 132 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 160 of file InnerProductMatrix.hpp.
References ROL::apply.
|
inlinevirtual |
Reimplemented in InnerProductMatrixSolver< Real >.
Definition at line 52 of file InnerProductMatrix.hpp.
|
inlinevirtual |
Reimplemented in InnerProductMatrixSolver< Real >.
Definition at line 56 of file InnerProductMatrix.hpp.
|
protected |
Definition at line 61 of file InnerProductMatrix.hpp.
Referenced by InnerProductMatrix< Real >::InnerProductMatrix().
|
protected |
Definition at line 62 of file InnerProductMatrix.hpp.
Referenced by InnerProductMatrix< Real >::InnerProductMatrix().
|
protected |
Definition at line 63 of file InnerProductMatrix.hpp.
Referenced by InnerProductMatrix< Real >::InnerProductMatrix().
|
protected |
Definition at line 64 of file InnerProductMatrix.hpp.
Referenced by InnerProductMatrix< Real >::InnerProductMatrix().
|
protected |
Definition at line 65 of file InnerProductMatrix.hpp.
Referenced by InnerProductMatrix< Real >::InnerProductMatrix().
|
protected |
Definition at line 67 of file InnerProductMatrix.hpp.
Referenced by InnerProductMatrix< Real >::InnerProductMatrix().