interface to internal representation of OMD data
More...
#include <DataStore.hpp>
|
|
typedef Eigen::Block< const Eigen::MatrixXd, Eigen::Dynamic, Eigen::Dynamic, true > | Block |
| | short-hand for matrix block expression
|
| |
|
typedef Eigen::Block< const Eigen::Ref< const Eigen::MatrixXd >, Eigen::Dynamic, Eigen::Dynamic, true > | RefBlock |
| | short-hand for referenced matrix block
|
| |
|
|
const Eigen::Index | m |
| | number of snapshots
|
| |
|
const Eigen::Index | r |
| | rank of reduced space
|
| |
|
const Eigen::Index | n |
| | number of spatial locations (n > m)
|
| |
interface to internal representation of OMD data
◆ DataStore()
| OMD::DataStore::DataStore |
( |
const Eigen::Ref< const Eigen::MatrixXd > |
S, |
|
|
Eigen::Index |
r |
|
) |
| |
standard contructor from snapshots
- Parameters
-
| S | snapshots |
| r | dimension of reduced system |
◆ getProjector()
| const Eigen::MatrixXd& OMD::DataStore::getProjector |
( |
| ) |
const |
projector onto orthog. space of X'L
- Returns
- ref. to matrix [(m-r-1) x r]
◆ getResidual()
| const double OMD::DataStore::getResidual |
( |
| ) |
const |
squared Frobenius residual: ||Y|| - ||(L'YX'L) inv(L'XX'L) (L'XY'L)||
- Returns
- computed residual from current internal state
◆ getSystemMatrix()
| const Eigen::MatrixXd& OMD::DataStore::getSystemMatrix |
( |
| ) |
const |
system matrix of linear system M = (L'YX'L) inv(L'XX'L)
- Returns
- system matrix from internal rep. [r x r]
◆ LTX()
| const Block OMD::DataStore::LTX |
( |
| ) |
const |
|
inline |
read-access to projected left snaps
- Returns
- Eigen::Block: L'X
◆ LTY()
| const Block OMD::DataStore::LTY |
( |
| ) |
const |
|
inline |
read-access to projected right snaps
- Returns
- Eigen::Block L'Y
◆ updateSystemMatrices()
| void OMD::DataStore::updateSystemMatrices |
( |
const Eigen::Ref< const Eigen::MatrixXd > |
L | ) |
|
recomputes internal representations for given modes
- Parameters
-
◆ X()
| const RefBlock OMD::DataStore::X |
( |
| ) |
const |
|
inline |
read-access to left snaps
- Returns
- Eigen::Block to left snaps
◆ Y()
| const RefBlock OMD::DataStore::Y |
( |
| ) |
const |
|
inline |
read-access to right snaps
- Returns
- Eigen::Block to right snaps
The documentation for this class was generated from the following file: