?cabs1

对复数的实部和虚部分别取绝对值,并相加, 即y = |Re(A)| + |Im(A)|。

接口定义

Fortran interface:

RES = SCABS1(A)

RES = DCABS1(A)

返回值

返回计算结果。