A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://python-control.readthedocs.io/en/stable/generated/control.bdschur.html below:

control.bdschur — Python Control Systems Library 0.10.2 documentation

Python Control Systems Library control.bdschur
control.bdschur(a, condmax=None, sort=None)[source]

Block-diagonal Schur decomposition.

Parameters:
a(M, M) array_like

Real matrix to decompose.

condmaxNone or float, optional

If None (default), use 1/sqrt(eps), which is approximately 1e8.

sort{None, ‘continuous’, ‘discrete’}

Block sorting; see below.

Returns:
amodal(M, M) real ndarray

Block-diagonal Schur decomposition of a.

tmodal(M, M) real ndarray

Similarity transform relating a and amodal.

blksizes(N,) int ndarray

Array of Schur block sizes.

Notes

If sort is None, the blocks are not sorted.

If sort is ‘continuous’, the blocks are sorted according to associated eigenvalues. The ordering is first by real part of eigenvalue, in descending order, then by absolute value of imaginary part of eigenvalue, also in decreasing order.

If sort is ‘discrete’, the blocks are sorted as for ‘continuous’, but applied to log of eigenvalues (i.e., continuous-equivalent eigenvalues).

Examples

>>> Gs = ct.tf2ss([1], [1, 3, 2])
>>> amodal, tmodal, blksizes = ct.bdschur(Gs.A)
>>> amodal                                                   
array([[-2.,  0.],
       [ 0., -1.]])

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4