def run_norm_cdf(lets_be_rational_version):
start = time.clock()
for i in range(TestCases):
z = _z[i]
actual = lets_be_rational_version.norm_cdf(z)
# print(z, " norm_cdf = ", actual)
end = time.clock()
return end - start
# profile.run("run_black(py_lets_be_rational)")
# profile.run("run_implied_volatility_from_a_transformed_rational_guess(py_lets_be_rational)")
# profile.run("run_implied_volatility_from_a_transformed_rational_guess_with_limited_iterations(py_lets_be_rational)")
# profile.run("run_normalised_black(py_lets_be_rational)")
# profile.run("run_normalised_black_call(py_lets_be_rational)")
# profile.run("run_normalised_vega(py_lets_be_rational)")
# profile.run("run_normalised_implied_volatility_from_a_transformed_rational_guess(py_lets_be_rational)")
# profile.run("run_normalised_implied_volatility_from_a_transformed_rational_guess_with_limited_iterations(py_lets_be_rational)")
# profile.run("run_norm_cdf(py_lets_be_rational)")
test_profile_py_lets_be_rational.py 文件源码
python
阅读 18
收藏 0
点赞 0
评论 0
评论列表
文章目录