naginterfaces.library.blas.zlanhs

naginterfaces.library.blas.zlanhs(norm, a)[source]

zlanhs returns the value of the -norm, the -norm, the Frobenius norm, or the maximum absolute value of the elements of a complex upper Hessenberg matrix.

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

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

Parameters
normstr, length 1

Specifies the value to be returned.

or

The -norm.

The -norm.

or

The Frobenius (or Euclidean) norm.

The value (not a norm).

acomplex, array-like, shape

The upper Hessenberg matrix ; elements of the array below the first subdiagonal are not referenced.

Returns
nrmfloat

The value of the -norm, the -norm, the Frobenius norm, or the maximum absolute value of the elements of the complex upper Hessenberg matrix.

Raises
NagValueError
(errno )

On entry, error in parameter .

Constraint: , , , , or .

(errno )

On entry, error in parameter .

Constraint: .

Notes

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