erfi在python 3.4中没有返回正确的值

时间:2015-11-03 20:33:28

标签: python scipy python-3.4

我试过这个:

import scipy.special as spec

y=spec.erfi(0.9)
print(y)

输出

1.37154320157

但实际答案是1.16308715367,可以验证here

有人可以帮我解决这个问题吗?

由于

1 个答案:

答案 0 :(得分:3)

select OrderNo, Tender, TenderSequence, row_number() over (partition by OrderNo order by OrderNo asc ) rownumber, TenderSequence + row_number() over (partition by OrderNo order by OrderNo asc ) TS_RowNum_ADD from TENDERINFO 虚构错误函数erfi (docs)。你想要erfinv

-i erf(i z)