Changes to the opinf.lstsq API and improvements to the documentation.
opinf.model classes now receive solvers in the constructor, not in fit(). This change will be useful for future models that require specific solvers. Updated ROM class and tutorials accordingly.
New SolverTemplate class and inheritance guide for creating new solvers.
Renamed attributes to match OpInf terminology.
A --> data_matrix, called $D$ in the docs.
B --> lhs_matrix, called $Z$ in the docs. Warning:fit() receives $Z$, not $Z^T$!
$X$ is replaced with $\hat{O}$. Warning: predict() returns $\hat{O}$, not $\hat{O}^T$!
Changes to the
opinf.lstsq
API and improvements to the documentation.opinf.model
classes now receive solvers in the constructor, not in fit(). This change will be useful for future models that require specific solvers. UpdatedROM
class and tutorials accordingly.SolverTemplate
class and inheritance guide for creating new solvers.A --> data_matrix
, called $D$ in the docs.B --> lhs_matrix
, called $Z$ in the docs. Warning:fit()
receives $Z$, not $Z^T$!predict()
returns $\hat{O}$, not $\hat{O}^T$!L2SolverDecoupled --> L2DecoupledSolver
TikhonovSolverDecoupled --> TikhonovDecoupledSolver
Before:
After: