datablock()#
- static InputOperator.datablock(states, inputs)[source]#
Return the data matrix block corresponding to the operator, the
inputs
.Since \(\Ophat_\ell(\qhat,\u) = \Ohat_{\ell}\d_{\ell}(\qhat,\u)\) with \(\Ohat_{\ell} = \Bhat\) and \(\d_{\ell}(\qhat,\u) = \u\), 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} \u_0 & \cdots & \u_{k-1} \end{array}\right] \in \RR^{r \times k}.\]- Parameters:
- states(r, k) or (k,) ndarray
State vectors (not used).
- inputs(m, k) or (k,) ndarray
Input vectors. Each column is a single input vector. If one dimensional, it is assumed that \(m = 1\).
- Returns:
- inputs(m, k) ndarray
Input vectors. Each column is a single input vector.