nocad.structural.controllable_subspace_dimension#

nocad.structural.controllable_subspace_dimension(A, B, tol=None)[source]#

Dimension of the controllable subspace of a numerical pair.

Block Arnoldi iteration with full re-orthogonalization (the orthogonal controllability staircase): the Krylov space is built one orthonormal direction at a time, which is numerically far more reliable than the rank of the Kalman matrix.

Examples

>>> controllable_subspace_dimension([[0, 0], [1, 0]], [[1], [0]])
2