naginterfaces.library.blast.dgb_norm¶
- naginterfaces.library.blast.dgb_norm(inorm, m, kl, ku, ab)[source]¶
dgb_norm
calculates the value of the -norm, the -norm, the Frobenius norm or the maximum absolute value of the elements of a real band matrix stored in banded form.For full information please refer to the NAG Library document for f16rb
https://support.nag.com/numeric/nl/nagdoc_30.3/flhtml/f16/f16rbf.html
- Parameters
- inormint
Specifies the value to be returned.
The -norm.
The -norm of a row or column vector.
The Frobenius (or Euclidean) norm.
The -norm.
The value (not a norm).
- mint
, the number of rows of the matrix . If on input,
dgb_norm
returns .- klint
, the number of subdiagonals within the band of . If on input,
dgb_norm
returns .- kuint
, the number of superdiagonals within the band of . If on input,
dgb_norm
returns .- abfloat, array-like, shape
The band matrix .
- Returns
- nrmfloat
The value of the required norm of the matrix supplied in .
- Notes
Given a real banded matrix, ,
dgb_norm
calculates one of the values given by(the -norm of ),
(the -norm of ),
(the Frobenius norm of ), or
(the maximum absolute element value of ).
If or is then additionally
dgb_norm
can calculate the value (the -norm of ).
- References
Basic Linear Algebra Subprograms Technical (BLAST) Forum, 2001, Basic Linear Algebra Subprograms Technical (BLAST) Forum Standard, University of Tennessee, Knoxville, Tennessee, https://www.netlib.org/blas/blast-forum/blas-report.pdf