naginterfaces.library.blas.dnrm2

naginterfaces.library.blas.dnrm2(x)[source]

dnrm2 returns the Euclidean norm of the -element real vector .

For full information please refer to the NAG Library document for f06ej

https://support.nag.com/numeric/nl/nagdoc_30.2/flhtml/f06/f06ejf.html

Parameters
xfloat, array-like, shape

The -element vector .

Returns
nrmfloat

The Euclidean norm.

Raises
NagValueError
(errno )

On entry, error in parameter .

Constraint: .

Notes

No equivalent traditional C interface for this routine exists in the NAG Library.

dnrm2 returns the Euclidean norm

of the -element real vector .

References

Lawson, C L, Hanson, R J, Kincaid, D R and Krogh, F T, 1979, Basic linear algebra supbrograms for Fortran usage, ACM Trans. Math. Software (5), 308–325