Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit08d5e6c

Browse files
committed
replace another deprecated scipy function with numpy
1 parentf3e5035 commit08d5e6c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎control/timeresp.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -408,8 +408,8 @@ def forced_response(sys, T=None, U=0., X0=0., transpose=False,
408408
xout=xout[::inc, :]
409409

410410
# Transpose the output and state vectors to match local convention
411-
xout=sp.transpose(xout)
412-
yout=sp.transpose(yout)
411+
xout=np.transpose(xout)
412+
yout=np.transpose(yout)
413413

414414
# Get rid of unneeded dimensions
415415
ifsqueeze:

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp