datablock()#

static LinearOperator.datablock(states, inputs=None)[source]#

Return the data matrix block corresponding to the operator, the states.

Since \(\Ophat_\ell(\qhat,\u) = \Ohat_{\ell}\d_{\ell}(\qhat,\u)\) with \(\Ohat_{\ell} = \Ahat\) and \(\d_{\ell}(\qhat,\u) = \qhat\), the data block is

\[\D\trp = \left[\begin{array}{ccc} \d_{\ell}(\qhat_0,\u_0) & \cdots & \d_{\ell}(\qhat_{k-1},\u_{k-1}) \end{array}\right] = \left[\begin{array}{ccc} \qhat_0 & \cdots & \qhat_{k-1} \end{array}\right] \in \RR^{r \times k}.\]
Parameters
states(r, k) or (k,) ndarray

State vectors. Each column is a single state vector. If one dimensional, it is assumed that \(r = 1\).

inputs(m, k) or (k,) ndarray or None

Input vectors (not used).

Returns
state(r, k) ndarray

State vectors. Each column is a single state vector.