计算铁蟒的数学函数

时间:2015-05-16 11:00:38

标签: ironpython

如何计算铁蟒中的余弦或正弦值?我认为这是需要使用的代码。

with open('input.csv', 'rb') as csvfile:
    //use the csvfile here

但是,需要包含哪些目录?

2 个答案:

答案 0 :(得分:2)

您需要使用“cmath”cmath ironpython reference

答案 1 :(得分:0)

得到了答案.. 它只是在程序开始时添加'import math'并使用math.cos