scipy.special 模块中包含了一些常用的杂项函数,例如经常使用的:
示例
解立方根:
from scipy.special import cbrt res = cbrt([1000, 27, 8, 23]) print (res)
输出
[10. 3. 2. 2.84386698]
这些函数使用很简单,不再赘述。