1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55
| ---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
<ipython-input-22-c5aa2f068acb> in <module>()
----> 1 sp.inverse_laplace_transform(G[0][0],s,t)
~\Anaconda3\lib\site-packages\sympy\integrals\transforms.py in inverse_laplace_transform(F, s, t, plane, **hints)
1269 if isinstance(F, MatrixBase) and hasattr(F, 'applyfunc'):
1270 return F.applyfunc(lambda Fij: inverse_laplace_transform(Fij, s, t, plane, **hints))
-> 1271 return InverseLaplaceTransform(F, s, t, plane).doit(**hints)
1272
1273
~\Anaconda3\lib\site-packages\sympy\integrals\transforms.py in doit(self, **hints)
115 try:
116 return self._compute_transform(self.function,
--> 117 self.function_variable, self.transform_variable, **hints)
118 except IntegralTransformError:
119 pass
~\Anaconda3\lib\site-packages\sympy\integrals\transforms.py in _compute_transform(self, F, s, t, **hints)
1221
1222 def _compute_transform(self, F, s, t, **hints):
-> 1223 return _inverse_laplace_transform(F, s, t, self.fundamental_plane, **hints)
1224
1225 def _as_integral(self, F, s, t):
~\Anaconda3\lib\site-packages\sympy\integrals\transforms.py in wrapper(*args, **kwargs)
193 def wrapper(*args, **kwargs):
194 noconds = kwargs.pop('noconds', default)
--> 195 res = func(*args, **kwargs)
196 if noconds:
197 return res[0]
~\Anaconda3\lib\site-packages\sympy\integrals\transforms.py in _inverse_laplace_transform(F, s, t_, plane, simplify)
1148 try:
1149 f, cond = inverse_mellin_transform(F, s, exp(-t), (None, oo),
-> 1150 needeval=True, noconds=False)
1151 except IntegralTransformError:
1152 f = None
~\Anaconda3\lib\site-packages\sympy\integrals\transforms.py in inverse_mellin_transform(F, s, x, strip, **hints)
861 hankel_transform, inverse_hankel_transform
862 """
--> 863 return InverseMellinTransform(F, s, x, strip[0], strip[1]).doit(**hints)
864
865
~\Anaconda3\lib\site-packages\sympy\integrals\transforms.py in doit(self, **hints)
140 try:
141 extra = self._collapse_extra(extra)
--> 142 return tuple([res]) + tuple(extra)
143 except IntegralTransformError:
144 pass
TypeError: 'NoneType' object is not iterable |
Partager