datablock()#

abstract ParametricOpInfOperator.datablock(parameters, states, inputs=None)[source]#

Return the data matrix block corresponding to the operator.

Parameters:
parameters(s, p) ndarray

Traning parameter values \(\bfmu_{0},\ldots,\bfmu_{s-1}\).

stateslist of s (r, k_i) ndarrays

State snapshots for each of the \(s\) training parameter values.

inputslist of s (m, k_i) ndarrays

Inputs corresponding to the state snapshots.

Returns:
block(D, K) ndarray

Data block for the parametric operator. Here, \(D\) is the total operator matrix dimension and \(K = \sum_{i=0}^{s-1}k_i\), the total number of state snapshots.