dcabs1(3f) - [BLAS:DOUBLE_BLAS_LEVEL1] DCABS1 computes
|Re(.)| + |Im(.)| of a double complex number
double precision function dcabs1(z)
.. Scalar Arguments ..
complex(kind=real64),intent(in) :: Z
..
DCABS1 computes |Re(.)| + |Im(.)| of a double complex number
Z
Z is complex(kind=real64)
date:November 2017
Online html documentation available at
http://www.netlib.org/lapack/explore-html/
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex(kind=real64), | intent(in) | :: | z |
pure double precision function dcabs1(z)
implicit none
!
! -- Reference BLAS level1 routine (version 3.8.0) --
! -- Reference BLAS is a software package provided by Univ. of Tennessee, --
! -- Univ. of California Berkeley, Univ. of Colorado Denver and NAG Ltd..--
! November 2017
!
! .. Scalar Arguments ..
complex(kind=real64),intent(in) :: z
! ..
! =====================================================================
!
! .. Intrinsic Functions ..
intrinsic abs,dble,dimag
!
dcabs1 = abs(dble(z)) + abs(dimag(z))
end function dcabs1