0
「ufunc 『hyp2f1』が入力タイプのためにサポートされていません」:エラー
import math
from scipy import special as spec
import numpy as np
from sympy import *
y = Symbol('y')
x = spec.hyp2f1(1.5, 2.5, 1, y**2)
ans = x.diff(y)
print ans
を私はエラーを取得:
Traceback (most recent call last):
File "calc.py", line 74, in <module>
x = spec.hyp2f1(1.5, 2.5, 1, y**2)
TypeError: ufunc 'hyp2f1' not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ''safe''
問題は何ですか関数hyp2f1を象徴的に区別する他の方法はありますか?
ありがとう、今は動作します。 – ani87
うれしかった! –