SCNRM2(3)       BLAS routine of NEC Numeric Library Collection       SCNRM2(3)



NAME
       SCNRM2 - BLAS level one, computes the Euclidean norm of a vector

SYNOPSIS
       REAL FUNCTION SCNRM2 ( n, x, incx )

           INTEGER            n, incx

           COMPLEX            x


DESCRIPTION
       SCNRM2  computes  the  Euclidean (L2) norm of a complex vector, as fol-
       lows:

               SCNRM2 <-- ||x||
                               2

       where x is a complex vector.

ARGUMENTS
       n       INTEGER (input)
               Number of elements in the operand vector.

       x       COMPLEX (input)
               Array of dimension (n-1) * |incx| + 1.
               Array x contains the operand vector.

       incx    INTEGER (input)
               Increment between elements of x.
               If incx = 0, the results will be unpredictable.

RETURN VALUES
       SCNRM2  REAL Result (Euclidean norm). (output)
               If n <= 0, SCNRM2 is set to 0.0.

NOTES
       This routine is Level 1  Basic  Linear  Algebra  Subprograms  (Level  1
       BLAS).

       When  working backward (incx < 0), SCNRM2 starts at the end of the vec-
       tor and moves backward, as follows:

               x(1-incx * (n-1)), x(1-incx * (n-2)), ..., x(1)



BLAS routine                                                         SCNRM2(3)