naginterfaces.library.blas.darang

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

darang returns the absolutely largest and absolutely smallest values from a real vector.

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

https://www.nag.com/numeric/nl/nagdoc_29.3/flhtml/f06/f06flf.html

Parameters
xfloat, array-like, shape

The -element vector .

Returns
xmaxfloat

The value .

xminfloat

The value .

Raises
NagValueError
(errno )

On entry, error in parameter .

Constraint: .

Notes

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

darang returns the values and given by

where is an -element real vector. If , then and are returned as zero.