Skip to content

Commit adb4f8f

Browse files
committed
test
1 parent 612e0c8 commit adb4f8f

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

src/modelsimp.py

+13
Original file line numberDiff line numberDiff line change
@@ -336,3 +336,16 @@ def markov(Y, U, M):
336336
H = np.dot(H, Y)
337337

338338
return H
339+
340+
def minreal(H, tol=-1):
341+
342+
if isinstance(TransferFunction, H):
343+
344+
try:
345+
from slycot import td04ad
346+
except ImportError:
347+
raise ControlSlycot("can't find slycot subroutine td04ad")
348+
rowcol = 'R'
349+
m = H.inputs
350+
P = H.outputs
351+
index = np.x

0 commit comments

Comments
 (0)