ss_algorithms_permute

wield.control.algorithms.statespace.dense.ss_algorithms_permute

Classes

TupleABCDE

alias of ABCDE

Functions

invert_permutation(p)

Return an array s with which np.array_equal(arr[p][s], arr) is True.

permute_UT(A, B, C, D, E[, orientation])

Permute elements to make the A and E matrix upper-triangular dominant.

Details

invert_permutation(p)[source][github]

Return an array s with which np.array_equal(arr[p][s], arr) is True. The array_like argument p must be some permutation of 0, 1, …, len(p)-1.

from https://stackoverflow.com/a/25535723

permute_UT(A, B, C, D, E, orientation='upper')[source][github]

Permute elements to make the A and E matrix upper-triangular dominant.

This algorithm is for TESTING. It does not appear to help stability.