C Library Functions  - scasum (3)

NAME

scasum(3f) - [BLAS:SINGLE_BLAS_LEVEL1] SCASUM:=SUM(I=1 to N) ABS(REAL(CX(I)))+ABS(AIMAG(CX(I))).

CONTENTS

Synopsis
Definition
Options
     Cx
Authors
     Further Details
See Also

SYNOPSIS

real function scasum(n,cx,incx)

      .. Scalar Arguments ..
      integer,intent(in)    :: incx,n
      ..
      .. Array Arguments ..
      complex,intent(inout) :: cx(*)
      ..

DEFINITION

SCASUM takes the sum of the (|Re(.)| + |Im(.)|)’s of a complex vector and returns a single precision result.

OPTIONS

    N

N is INTEGER number of elements in input vector(s)

    CX

CX is COMPLEX array, dimension ( 1 + ( N - 1 )*abs( INCX ) )

    INCX

INCX is INTEGER storage spacing between elements of SX

AUTHORS

o Univ. of Tennessee
o Univ. of California Berkeley
o Univ. of Colorado Denver
o NAG Ltd.

 date:November 2017

    FURTHER DETAILS

jack dongarra, linpack, 3/11/78. modified 3/93 to return if incx .le. 0. modified 12/3/93, array(1) declarations changed to array(*)

SEE ALSO

Online html documentation available at http://www.netlib.org/lapack/explore-html/


Nemo Release 3.1 scasum (3) July 22, 2023
Generated by manServer 1.08 from 9197933d-4a43-418c-aa6f-6b51db1ca9c7 using man macros.