Skip to content

Commit 2289d93

Browse files
committed
Update docstring, minor fixes
1 parent 8ad0236 commit 2289d93

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed

slycot/analysis.py

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ def ab01nd(n, m, A, B, jobz='N', tol=0, ldwork=None):
140140
return Ac, Bc, ncont, indcon, nblk, Z, tau
141141

142142
def ab04md(type_t, n, m, p, A, B, C, D, alpha=1.0, beta=1.0, ldwork=None):
143-
""" At,Bt,Ct,Dt = ab04md(type_bn, n, m, p, A, B, C, D, [alpha, beta,ldwork])
143+
""" At,Bt,Ct,Dt = ab04md(type_t, n, m, p, A, B, C, D, [alpha, beta,ldwork])
144144
145145
Parameters
146146
----------
@@ -159,27 +159,29 @@ def ab04md(type_t, n, m, p, A, B, C, D, alpha=1.0, beta=1.0, ldwork=None):
159159
p : int
160160
The number of rows of matrix C. It represents the dimension of
161161
the output vector. p > 0.
162-
A : (n,n) ndarray
162+
A : (n,n) array_like
163163
The leading n-by-n part of this array must contain the system state
164164
matrix A.
165-
B : (n,m) ndarray
165+
B : (n,m) array_like
166166
The leading n-by-m part of this array must contain the system input
167167
matrix B.
168-
C : (p,n) ndarray
168+
C : (p,n) array_like
169169
The leading p-by-n part of this array must contain the system output
170170
matrix C.
171-
D : (p,m) ndarray
171+
D : (p,m) array_like
172172
The leading p-by-m part of this array must contain the system direct
173173
transmission matrix D.
174-
alpha : double
174+
alpha : double, optional
175175
Parameter specifying the bilinear transformation.
176176
Recommended values for stable systems: alpha = 1, alpha != 0,
177-
beta : double
177+
Default is 1.0.
178+
beta : double, optional
178179
Parameter specifying the bilinear transformation.
179180
Recommended values for stable systems: beta = 1, beta != 0,
180-
ldwork : int
181+
Default is 1.0.
182+
ldwork : int, optional
181183
The length of the cache array.
182-
ldwork >= max(1, n)
184+
ldwork >= max(1, n), default is max(1, n)
183185
Returns
184186
-------
185187
At : (n,n) ndarray

0 commit comments

Comments
 (0)