naginterfaces.library.blas.dlangb

naginterfaces.library.blas.dlangb(norm, kl, ku, ab)[source]

dlangb returns the value of the -norm, the -norm, the Frobenius norm, or the maximum absolute value of the elements of a real band matrix.

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

https://support.nag.com/numeric/nl/nagdoc_30.3/flhtml/f06/f06rbf.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).

klint

, the number of subdiagonals within the band of .

kuint

, the number of superdiagonals within the band of .

abfloat, array-like, shape

The band matrix .

Returns
nrmfloat

The value of the -norm, the -norm, the Frobenius norm, or the maximum absolute value of the elements of the real band matrix.

Raises
NagValueError
(errno )

On entry, error in parameter .

Constraint: , , , , or .

(errno )

On entry, error in parameter .

Constraint: .

(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.