@@ -58,9 +58,10 @@ def sb01bd(n,m,np,alpha,A,B,w,dico,tol=0.0,ldwork=None):
5858 := 'C': continuous-time system;
5959 := 'D': discrete-time system.
6060 tol : float, optional
61- The absolute tolerance level below which the elements of A or B are
62- considered zero (used for controllability tests).
63- If tol <= 0 the default value is used.
61+ The absolute tolerance level below which the elements of A or B are
62+ considered zero (used for controllability tests).
63+ If tol <= 0 the default value is used.
64+ Default is `0.0`.
6465 ldwork : int, optional
6566 The length of the cache array. The default value is
6667 max(1,5*m,5*n,2*n+4*m), for optimum performance it should be larger.
@@ -128,7 +129,6 @@ def sb01bd(n,m,np,alpha,A,B,w,dico,tol=0.0,ldwork=None):
128129
129130 Example
130131 -------
131-
132132 >>> import numpy as np
133133 >>> import slycot
134134 >>> A = np.array([[0, 1, 0], [0, 0, 1], [-2, 1, 3]])
@@ -281,8 +281,6 @@ def sb02md(n,A,G,Q,dico,hinv='D',uplo='U',scal='N',sort='S',ldwork=None):
281281
282282 Raises
283283 ------
284- SlycotParameterError
285- :info = -i: the i-th argument had an illegal value;
286284 SlycotArithmeticError
287285 :info = 1:
288286 Matrix A is (numerically) singular in discrete-
@@ -304,7 +302,6 @@ def sb02md(n,A,G,Q,dico,hinv='D',uplo='U',scal='N',sort='S',ldwork=None):
304302
305303 Example
306304 -------
307-
308305 >>> import numpy as np
309306 >>> import slycot
310307 >>> A = np.array([[0, 1], [0, 0]])
@@ -622,7 +619,6 @@ def sb02od(n,m,A,B,Q,R,dico,p=None,L=None,fact='N',uplo='U',sort='S',tol=0.0,ldw
622619
623620 Example
624621 -------
625-
626622 >>> import numpy as np
627623 >>> import slycot
628624 >>> A = np.array([[0, 1], [0, 0]])
@@ -707,7 +703,7 @@ def sb03md57(A, U=None, C=None,
707703 C : (n, n) array_like
708704 If job = 'X' or 'B', this array must contain the symmetric matrix C.
709705 If job = 'S', C is not referenced.
710- dico : {'C', 'D'}
706+ dico : {'C', 'D'}, optional
711707 Specifies the equation from which X is to be determined as follows:
712708 := 'C': Equation (1), continuous-time case;
713709 := 'D': Equation (2), discrete-time case.
@@ -905,7 +901,7 @@ def sb03od(n,m,A,Q,B,dico,fact='N',trans='N',ldwork=None):
905901 For optimum performance ldwork should sometimes be larger.
906902
907903 Returns
908- _______
904+ -------
909905 U : (n, n) ndarray
910906 The leading n-by-n part of this array contains
911907 the upper triangular Cholesky factor U of the solution
@@ -1019,6 +1015,9 @@ def sb04md(n,m,A,B,C,ldwork=None):
10191015 Matrix B
10201016 C : (n, m) array_like
10211017 Matrix C
1018+ ldwork : int, optional
1019+ The length of the array DWORK.
1020+ Default is None.
10221021
10231022 Returns
10241023 -------
@@ -1068,6 +1067,9 @@ def sb04qd(n,m,A,B,C,ldwork=None):
10681067 Matrix B
10691068 C : (n, m) array_like
10701069 Matrix C
1070+ ldwork : int, optional
1071+ The length of the array DWORK.
1072+ Default is None.
10711073
10721074 Returns
10731075 -------
@@ -1743,9 +1745,9 @@ def sb10yd(discfl,flag,lendat,rfrdat,ifrdat,omega,n,tol,ldwork=None):
17431745 n : int
17441746 On entry, the desired order of the system to be fitted.
17451747 n <= lendat-1.
1746- tol : int, optional
1748+ tol : int
17471749 The length of the cache array.
1748- ldwork : int
1750+ ldwork : int, optional
17491751 With None it will be automatically calculated.
17501752 For details see SLICOT help.
17511753
@@ -2206,6 +2208,7 @@ def sg02ad(dico,jobb,fact,uplo,jobl,scal,sort,acc,N,M,P,A,E,B,Q,R,L,ldwork=None,
22062208 LDR >= MAX(1,M) if JOBB = 'B' and FACT = 'N' or 'C';
22072209 LDR >= MAX(1,P) if JOBB = 'B' and FACT = 'D' or 'B';
22082210 LDR >= 1 if JOBB = 'G'.
2211+
22092212 L : (n, M) array_like
22102213 If JOBL = 'N' and JOBB = 'B', the leading N-by-M part of
22112214 this array must contain the cross weighting matrix L.
@@ -2217,6 +2220,7 @@ def sg02ad(dico,jobb,fact,uplo,jobl,scal,sort,acc,N,M,P,A,E,B,Q,R,L,ldwork=None,
22172220
22182221 LDWORK >= MAX(7*(2*N+1)+16,16*N), if JOBB = 'G';
22192222 LDWORK >= MAX(7*(2*N+1)+16,16*N,2*N+M,3*M), if JOBB = 'B'.
2223+
22202224 For optimum performance LDWORK should be larger.
22212225 Default: ``max(7*(2*n+1)+16,16*n)``
22222226 tol : float, optional
@@ -2432,7 +2436,7 @@ def sg03bd(n,m,A,E,Q,Z,B,dico,fact='N',trans='N',ldwork=None):
24322436 than one).
24332437
24342438 Parameters
2435- __________
2439+ ----------
24362440 n : int
24372441 The order of the matrix A. n >= 0.
24382442 m : int
@@ -2495,11 +2499,13 @@ def sg03bd(n,m,A,E,Q,Z,B,dico,fact='N',trans='N',ldwork=None):
24952499 on entry or not:
24962500 := 'N': Factorization is not supplied;
24972501 := 'F': Factorization is supplied.
2502+ Default is 'N'.
24982503 trans : {'N', 'T'}, optional
24992504 Specifies whether the transposed equation is to be solved
25002505 or not:
25012506 := 'N': op(A) = A, op(E) = E;
25022507 := 'T': op(A) = A**T, op(E) = E**T.
2508+ Default is 'N'.
25032509 ldwork : int, optional
25042510 The dimension of the array dwork::
25052511
@@ -2508,7 +2514,7 @@ def sg03bd(n,m,A,E,Q,Z,B,dico,fact='N',trans='N',ldwork=None):
25082514 For good performance, ldwork should be larger.
25092515
25102516 Returns
2511- _______
2517+ -------
25122518 U : (n, n) ndarray
25132519 The leading n-by-b part of this array contains
25142520 the Cholesky factor U of the solution matrix X of the
@@ -2521,6 +2527,7 @@ def sg03bd(n,m,A,E,Q,Z,B,dico,fact='N',trans='N',ldwork=None):
25212527 If INFO = 0, 3, 5, 6, or 7, then
25222528 ((j), j=1,...,n, are the
25232529 eigenvalues of the matrix pencil A - lambda * E.
2530+ Default is None.
25242531
25252532 Raises
25262533 ------
@@ -2647,7 +2654,7 @@ def sb10fd(n,m,np,ncon,nmeas,gamma,A,B,C,D,tol=0.0,ldwork=None):
26472654 whose reciprocal condition numbers are less than tol are
26482655 not allowed. If tol <= 0, then a default value equal to
26492656 sqrt(eps) is used, where eps is the relative machine
2650- precision.
2657+ precision. Default is `0.0`.
26512658 ldwork : int, optional
26522659 The dimension of the cache array::
26532660
@@ -2683,7 +2690,7 @@ def sb10fd(n,m,np,ncon,nmeas,gamma,A,B,C,D,tol=0.0,ldwork=None):
26832690
26842691 if the default (None) value is used, the size for good performance
26852692 is automatically used, when ldwork is set to zero, the minimum
2686- cache size will be used.
2693+ cache size will be used. Default is None.
26872694
26882695 Returns
26892696 -------
0 commit comments