@@ -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]])
@@ -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
@@ -2206,6 +2202,7 @@ def sg02ad(dico,jobb,fact,uplo,jobl,scal,sort,acc,N,M,P,A,E,B,Q,R,L,ldwork=None,
22062202 LDR >= MAX(1,M) if JOBB = 'B' and FACT = 'N' or 'C';
22072203 LDR >= MAX(1,P) if JOBB = 'B' and FACT = 'D' or 'B';
22082204 LDR >= 1 if JOBB = 'G'.
2205+
22092206 L : (n, M) array_like
22102207 If JOBL = 'N' and JOBB = 'B', the leading N-by-M part of
22112208 this array must contain the cross weighting matrix L.
@@ -2217,6 +2214,7 @@ def sg02ad(dico,jobb,fact,uplo,jobl,scal,sort,acc,N,M,P,A,E,B,Q,R,L,ldwork=None,
22172214
22182215 LDWORK >= MAX(7*(2*N+1)+16,16*N), if JOBB = 'G';
22192216 LDWORK >= MAX(7*(2*N+1)+16,16*N,2*N+M,3*M), if JOBB = 'B'.
2217+
22202218 For optimum performance LDWORK should be larger.
22212219 Default: ``max(7*(2*n+1)+16,16*n)``
22222220 tol : float, optional
@@ -2432,7 +2430,7 @@ def sg03bd(n,m,A,E,Q,Z,B,dico,fact='N',trans='N',ldwork=None):
24322430 than one).
24332431
24342432 Parameters
2435- __________
2433+ ----------
24362434 n : int
24372435 The order of the matrix A. n >= 0.
24382436 m : int
@@ -2495,11 +2493,13 @@ def sg03bd(n,m,A,E,Q,Z,B,dico,fact='N',trans='N',ldwork=None):
24952493 on entry or not:
24962494 := 'N': Factorization is not supplied;
24972495 := 'F': Factorization is supplied.
2496+ Default is 'N'.
24982497 trans : {'N', 'T'}, optional
24992498 Specifies whether the transposed equation is to be solved
25002499 or not:
25012500 := 'N': op(A) = A, op(E) = E;
25022501 := 'T': op(A) = A**T, op(E) = E**T.
2502+ Default is 'N'.
25032503 ldwork : int, optional
25042504 The dimension of the array dwork::
25052505
@@ -2508,7 +2508,7 @@ def sg03bd(n,m,A,E,Q,Z,B,dico,fact='N',trans='N',ldwork=None):
25082508 For good performance, ldwork should be larger.
25092509
25102510 Returns
2511- _______
2511+ -------
25122512 U : (n, n) ndarray
25132513 The leading n-by-b part of this array contains
25142514 the Cholesky factor U of the solution matrix X of the
@@ -2521,6 +2521,7 @@ def sg03bd(n,m,A,E,Q,Z,B,dico,fact='N',trans='N',ldwork=None):
25212521 If INFO = 0, 3, 5, 6, or 7, then
25222522 ((j), j=1,...,n, are the
25232523 eigenvalues of the matrix pencil A - lambda * E.
2524+ Default is None.
25242525
25252526 Raises
25262527 ------
@@ -2647,7 +2648,7 @@ def sb10fd(n,m,np,ncon,nmeas,gamma,A,B,C,D,tol=0.0,ldwork=None):
26472648 whose reciprocal condition numbers are less than tol are
26482649 not allowed. If tol <= 0, then a default value equal to
26492650 sqrt(eps) is used, where eps is the relative machine
2650- precision.
2651+ precision. Default is `0.0`.
26512652 ldwork : int, optional
26522653 The dimension of the cache array::
26532654
@@ -2683,7 +2684,7 @@ def sb10fd(n,m,np,ncon,nmeas,gamma,A,B,C,D,tol=0.0,ldwork=None):
26832684
26842685 if the default (None) value is used, the size for good performance
26852686 is automatically used, when ldwork is set to zero, the minimum
2686- cache size will be used.
2687+ cache size will be used. Default is None.
26872688
26882689 Returns
26892690 -------
0 commit comments