15 #ifndef __INC_OMDC_DATA_STORE__
16 #define __INC_OMDC_DATA_STORE__
70 const Eigen::Index zwdim;
72 const Eigen::Ref<const Eigen::MatrixXd> S;
74 const Eigen::Ref<const Eigen::MatrixXd> U;
85 typedef Eigen::Block<const Eigen::MatrixXd,Eigen::Dynamic,Eigen::Dynamic,true>
Block;
87 typedef Eigen::Block<const Eigen::Ref<const Eigen::MatrixXd>,Eigen::Dynamic,Eigen::Dynamic,
true>
RefBlock;
91 return S.leftCols(
m-1);
96 return S.rightCols(
m-1);
101 return LTS.leftCols(
m-1);
106 return LTS.rightCols(
m-1);
112 DataStore(
const Eigen::Ref<const Eigen::MatrixXd> S,
const Eigen::Ref<const Eigen::MatrixXd> U, Eigen::Index
r);
interface to internal representation of OMDc data
Definition: DataStore.hpp:58
const Eigen::VectorXd getInitialState() const
computes intial state from identified system
Eigen::Block< const Eigen::MatrixXd, Eigen::Dynamic, Eigen::Dynamic, true > Block
short-hand for matrix block expression
Definition: DataStore.hpp:85
Eigen::Block< const Eigen::Ref< const Eigen::MatrixXd >, Eigen::Dynamic, Eigen::Dynamic, true > RefBlock
short-hand for referenced matrix block
Definition: DataStore.hpp:87
const Eigen::Index n
number of spatial locations (n > m)
Definition: DataStore.hpp:65
const Eigen::MatrixXd & getProjector() const
get state projector
const Block LTY() const
read-access to projected output 'right' snaps
Definition: DataStore.hpp:105
const Eigen::Index m
number of snapshots
Definition: DataStore.hpp:61
const Eigen::MatrixXd getSystemMatrix() const
system matrix of linear system from internal representation
const Block LTX() const
read-access to projected input 'left' snaps
Definition: DataStore.hpp:100
const double getResidual() const
residual of squared Fobenius norm || Y - LML'X - LPU ||
const RefBlock Y() const
read-access to 'right' snaps
Definition: DataStore.hpp:95
const Eigen::MatrixXd getInputMatrix() const
input matrix of linear system from internal representation
const RefBlock X() const
read-access to 'left' snaps
Definition: DataStore.hpp:90
const Eigen::Index r
rank of reduced space
Definition: DataStore.hpp:63
DataStore(const Eigen::Ref< const Eigen::MatrixXd > S, const Eigen::Ref< const Eigen::MatrixXd > U, Eigen::Index r)
standard contructor from snapshots and inputs
const Eigen::Index p
number of inputs
Definition: DataStore.hpp:67
void updateSystemMatrices(const Eigen::Ref< const Eigen::MatrixXd > L)
recomputes internal representations for given modes
Optimal Mode Decomposition for control.
Definition: DataStore.hpp:43