naginterfaces.library.blas.dnorm¶

naginterfaces.library.blas.dnorm(scal, ssq)[source]

dnorm completes the safe computation of the Euclidean length of a vector, following a call to dssq() or dzssq().

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

https://www.nag.com/numeric/nl/nagdoc_28.7/flhtml/f06/f06bmf.html

Parameters
scalfloat

The scaling factor , returned by dssq() or dzssq().

ssqfloat

The scaled sum of squares , returned by dssq() or dzssq().

Returns
nrm2float

The Euclidean length of the vector.

Raises
NagValueError
(errno )

On entry, error in parameter .

Constraint: .

(errno )

On entry, error in parameter .

Constraint: .

Notes

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

dnorm completes the safe computation of the Euclidean length of a vector, following a call to dssq() or dzssq() which return values and such that

dnorm returns the value

where is the value given by .