@@ -322,47 +322,49 @@ def ab05nd(n1,m1,p1,n2,A1,B1,C1,D1,A2,B2,C2,D2,alpha=1.0,ldwork=None):
322
322
return out [:- 1 ]
323
323
324
324
def ab07nd (n ,m ,A ,B ,C ,D ,ldwork = None ):
325
- """ A_i,B_i,C_i,D_i ,rcond = ab07nd(n,m,A,B,C,D,[ldwork])
325
+ """ Ai,Bi,Ci,Di ,rcond = ab07nd(n,m,A,B,C,D,[ldwork])
326
326
327
- To compute the inverse (A_i,B_i,C_i,D_i ) of a given system (A,B,C,D).
327
+ To compute the inverse (Ai,Bi,Ci,Di ) of a given system (A,B,C,D).
328
328
329
- Required arguments:
330
- n : input int
331
- The order of the state matrix A. n >= 0.
332
- m : input int
333
- The number of system inputs and outputs. m >= 0.
334
- A : input rank-2 array('d') with bounds (n,n)
335
- The leading n-by-n part of this array must contain the state matrix
336
- A of the original system.
337
- B : input rank-2 array('d') with bounds (n,m)
338
- The leading n-by-m part of this array must contain the input matrix
339
- B of the original system.
340
- C : input rank-2 array('d') with bounds (m,n)
341
- The leading m-by-n part of this array must contain the output matrix
342
- C of the original system.
343
- D : input rank-2 array('d') with bounds (m,m)
344
- The leading m-by-m part of this array must contain the feedthrough
345
- matrix D of the original system.
346
- Optional arguments:
347
- ldwork := None input int
348
- The length of the cache array. The default value is max(1,4*m),
349
- for better performance should be larger.
350
- Return objects:
351
- A_i : rank-2 array('d') with bounds (n,n)
352
- The leading n-by-n part of this array contains the state matrix A_i
353
- of the inverse system.
354
- B_i : rank-2 array('d') with bounds (n,m)
355
- The leading n-by-m part of this array contains the input matrix B_i
356
- of the inverse system.
357
- C_i : rank-2 array('d') with bounds (m,n)
358
- The leading m-by-n part of this array contains the output matrix C_i
359
- of the inverse system.
360
- D_i : rank-2 array('d') with bounds (m,m)
361
- The leading m-by-m part of this array contains the feedthrough
362
- matrix D_i of the inverse system.
363
- rcond : float
364
- The estimated reciprocal condition number of the feedthrough matrix
365
- D of the original system.
329
+ Parameters
330
+ ----------
331
+ n : int
332
+ The order of the state matrix A. n >= 0.
333
+ m : int
334
+ The number of system inputs and outputs. m >= 0.
335
+ A : (n,n) array_like
336
+ The leading n-by-n part of this array must contain the state matrix
337
+ A of the original system.
338
+ B : (n,m) array_like
339
+ The leading n-by-m part of this array must contain the input matrix
340
+ B of the original system.
341
+ C : (m,n) array_like
342
+ The leading m-by-n part of this array must contain the output matrix
343
+ C of the original system.
344
+ D : (m,m) array_like
345
+ The leading m-by-m part of this array must contain the feedthrough
346
+ matrix D of the original system.
347
+ ldwork : int, optional
348
+ The length of the cache array. The default value is max(1,4*m),
349
+ for better performance should be larger.
350
+
351
+ Returns
352
+ -------
353
+ Ai : (n,n) ndarray
354
+ The leading n-by-n part of this array contains the state matrix Ai
355
+ of the inverse system.
356
+ Bi : (n,m) ndarray
357
+ The leading n-by-m part of this array contains the input matrix Bi
358
+ of the inverse system.
359
+ Ci : (m,n) ndarray
360
+ The leading m-by-n part of this array contains the output matrix Ci
361
+ of the inverse system.
362
+ Di : (m,m) ndarray
363
+ The leading m-by-m part of this array contains the feedthrough
364
+ matrix Di of the inverse system.
365
+ rcond : float
366
+ The estimated reciprocal condition number of the feedthrough matrix
367
+ D of the original system.
366
368
367
369
Warns
368
370
-----
0 commit comments