24小时热门版块排行榜    

CyRhmU.jpeg
查看: 2779  |  回复: 6
当前只显示满足指定条件的回帖,点击这里查看本话题的所有回帖

祈晴娃娃11

铜虫 (初入文坛)

[求助] fortran 复变函数的辐角主值的命令是什么啊?已有1人参与

求指点,一时查不到,有熟悉的人吗?多谢!
回复此楼

» 猜你喜欢

» 本主题相关价值贴推荐,对您同样有帮助:

已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

btx97

金虫 (小有名气)

【答案】应助回帖

感谢参与,应助指数 +1
atan
本贴为求助贴,我们鼓励回帖解决问题哦。应助不允许简单的跟帖,请遵守规定
4楼2014-02-24 21:16:45
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

btx97

金虫 (小有名气)

引用回帖:
4楼: Originally posted by btx97 at 2014-02-24 14:16:45
atan
本贴为求助贴,我们鼓励回帖解决问题哦。应助不允许简单的跟帖,请遵守规定

atan2
不好意思,太激动。没把2加上
5楼2014-02-24 21:18:02
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

btx97

金虫 (小有名气)

引用回帖:
6楼: Originally posted by 祈晴娃娃11 at 2014-02-25 01:30:41
好像应该是CARG,anyway谢了
关于fatal error F1002: compiler is out of heap space in pass 2
能不能支个招啊?
单独运行程序就没问题,但是放到workspace作为子程序运行就会出现这个问题,怎么解决啊?...

7.17 ATAN2 — Arctangent function


Description:
ATAN2(Y,X) computes the arctangent of the complex number X + i Y.
Option:
f95, gnu
Class:
elemental function
Syntax:
X = ATAN2(Y,X)
Arguments:
Y        The type shall be REAL(*).
X        The type and kind type parameter shall be the same as Y. If Y is zero, then X must be nonzero.


Return value:
The return value has the same type and kind type parameter as Y. It is the principle value of the complex number X + i Y. If X is nonzero, then it lies in the range -\pi \le \arccos (x) \leq \pi. The sign is positive if Y is positive. If Y is zero, then the return value is zero if X is positive and \pi if X is negative. Finally, if X is zero, then the magnitude of the result is \pi/2.
Example:
          program test_atan2
            real(4) :: x = 1.e0_4, y = 0.5e0_4
            x = atan2(y,x)
          end program test_atan2
     

Specific names:
Name        Argument        Return type        Option
DATAN2(X)        REAL(8) X        REAL(8)        f95, gnu
你的CARG应该是别的库里的,你得自己找出问题在哪哦。
用atan2试试吧f95标准函数
7楼2014-02-25 16:38:32
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 祈晴娃娃11 的主题更新
信息提示
请填处理意见