![]() |
LAPACK
3.9.0
LAPACK: Linear Algebra PACKage
|
real function snrm2 | ( | integer | N, |
real, dimension(*) | X, | ||
integer | INCX | ||
) |
SNRM2
SNRM2 returns the euclidean norm of a vector via the function name, so that SNRM2 := sqrt( x'*x ).
[in] | N | N is INTEGER number of elements in input vector(s) |
[in] | X | X is REAL array, dimension ( 1 + ( N - 1 )*abs( INCX ) ) |
[in] | INCX | INCX is INTEGER storage spacing between elements of SX |
-- This version written on 25-October-1982. Modified on 14-October-1993 to inline the call to SLASSQ. Sven Hammarling, Nag Ltd.
Definition at line 76 of file snrm2.f.