ParametricOpInfOperator#

class ParametricOpInfOperator[source]#

Template for operators that depend on external parameters, and which can be calibrated through operator inference, i.e., \(\Ophat_\ell(\qhat,\u;\bfmu) = \Ohat_\ell(\bfmu)\d_\ell(\qhat,\u)\).

Properties:
entries#

Arrays that define the operator matrix as a function of the parameter vector.

parameter_dimension#

Dimension \(p\) of the parameter vector \(\bfmu\) that the operator matrix depends on.

shape#

Shape of the operator matrix when evaluated at a parameter value.

state_dimension#

Dimension \(r\) of the state \(\qhat\) that the operator acts on.

Methods:

apply

Apply the operator to the given state and input at the specified parameter value, \(\Ophat_\ell(\qhat,\u;\bfmu)\).

copy

Return a copy of the operator.

datablock

Return the data matrix block corresponding to the operator.

evaluate

Evaluate the operator at the given parameter value, resulting in a nonparametric operator.

galerkin

Get the (Petrov-)Galerkin projection of this operator.

jacobian

Construct the state Jacobian of the operator, \(\ddqhat\Ophat_\ell(\qhat,\u;\bfmu)\).

load

Load an operator from an HDF5 file.

operator_dimension

Number of columns in the total operator matrix.

save

Save the operator to an HDF5 file.

set_entries

Set the arrays that define the operator matrix as a function of the parameter vector.

verify

Verify dimension attributes and evaluate().