Mercurial > octave-nkf
view libcruft/blas/scabs1.f @ 8710:739141cde75a ss-3-1-52
fix typo in Array-f.cc
author | Jaroslav Hajek <highegg@gmail.com> |
---|---|
date | Mon, 09 Feb 2009 21:51:31 +0100 |
parents | 82be108cc558 |
children |
line wrap: on
line source
REAL FUNCTION SCABS1(Z) * .. Scalar Arguments .. COMPLEX Z * .. * * Purpose * ======= * * SCABS1 computes absolute value of a complex number * * .. Intrinsic Functions .. INTRINSIC ABS,AIMAG,REAL * .. SCABS1 = ABS(REAL(Z)) + ABS(AIMAG(Z)) RETURN END