operator_dimension()

operator_dimension()#

AffineQuadraticOperator.operator_dimension(s: int, r: int, m: int) int#

Number of columns in the concatenated operator matrix.

For affine operators, this is \(A_{\ell}\cdot d(r,m)\), where \(A_{\ell}\) is the number of terms in the affine expansion and \(d(r,m)\) is the dimension of the function \(\d(\qhat,\u)\).

Parameters:
sint

Number of training parameter values.

rint

State dimension.

mint or None

Input dimension.

Returns:
dint

Number of columns in the concatenated operator matrix.