查了Fortran相关的数学函数库如下图:


在Fortran95的库函数——三角函数库里面,没有Sec(Secant 正割= sec(x)=1/cos(x))之类的三角函数。
所以,Fortran的sec(x)=1/cos(x)表达式,需要经过如下的转换:
sec(x) = (cos(x)**-1)
查了Fortran相关的数学函数库如下图:
在Fortran95的库函数——三角函数库里面,没有Sec(Secant 正割= sec(x)=1/cos(x))之类的三角函数。
所以,Fortran的sec(x)=1/cos(x)表达式,需要经过如下的转换:
sec(x) = (cos(x)**-1)
本文标题:【Fortran调试问题】(2)三角函数库
本文链接:https://www.haomeiwen.com/subject/kmzmpttx.html
网友评论