naginterfaces.library.blas.dlantb

naginterfaces.library.blas.dlantb(norm, uplo, diag, k, ab)[source]

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

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

https://www.nag.com/numeric/nl/nagdoc_29.3/flhtml/f06/f06rlf.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).

uplostr, length 1

Specifies whether is upper or lower triangular.

is upper triangular.

is lower triangular.

diagstr, length 1

Specifies whether has nonunit or unit diagonal elements.

The diagonal elements are stored explicitly.

The diagonal elements are assumed to be , and are not referenced.

kint

, the number of subdiagonals or superdiagonals of the matrix .

abfloat, array-like, shape

The triangular 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 triangular band matrix.

Raises
NagValueError
(errno )

On entry, error in parameter .

Constraint: , , , , or .

(errno )

On entry, error in parameter .

Constraint: or .

(errno )

On entry, error in parameter .

Constraint: or .

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