We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6cdd9ca commit ce85019Copy full SHA for ce85019
control/slicot_compat.py
@@ -1122,7 +1122,7 @@ def mb03rd(n, A, X, pmax=1.0, tol=0.0, ldwork=None):
1122
# If using slycot (not slicot), overwrite with direct imports from slycot
1123
if _use_slycot and not _use_slicot:
1124
from slycot import ( # noqa: F811
1125
- sb03md, sb03od, sb04md, sb04qd, sg03ad,
+ sb03od, sb04md, sb04qd, sg03ad,
1126
sb02md, sb02mt, sg02ad, sb01bd,
1127
sb10ad, sb10hd, ab08nd,
1128
ab09ad, ab09md, ab09nd,
@@ -1133,3 +1133,10 @@ def mb03rd(n, A, X, pmax=1.0, tol=0.0, ldwork=None):
1133
SlycotResultWarning as SlicotResultWarning,
1134
SlycotArithmeticError as SlicotArithmeticError,
1135
)
1136
+
1137
+ from slycot import sb03md57
1138
1139
+ def sb03md(n, C, A, U, dico, job='X', fact='N', trana='N', ldwork=None): # noqa: F811
1140
+ """Wrapper for slycot's sb03md57."""
1141
+ ret = sb03md57(A, U, C, dico, job, fact, trana, ldwork)
1142
+ return ret[2:]
0 commit comments