|
|
◆ zlangb()
| double zlangb |
( |
char |
norm, |
|
|
int |
n, |
|
|
int |
kl, |
|
|
int |
ku, |
|
|
int |
ldab, |
|
|
doublecomplex |
ab[], |
|
|
double |
work[] |
|
) |
| |
One norm, Frobenius norm, infinity norm, or largest absolute value of any element of a complex band matrix
- Purpose
- This routine returns the value of the one norm, the Frobenius norm, the infinity norm, or the largest absolute value of any element of an n x n complex band matrix A, with kl sub-diagonals and ku super-diagonals.
- Returns
- max(abs(Aij)) when norm = 'M',
norm1(A) when norm = '1' or 'O',
normI(A) when norm = 'I', or
normF(A) when norm = 'F' or 'E'
where norm1 denotes the one norm of a matrix (maximum column sum), normI denotes the infinity norm of a matrix (maximum row sum) and normF denotes the Frobenius norm of a matrix (square root of sum of squares).
Note that max(abs(Aij)) is not a consistent matrix norm.
- Parameters
-
| [in] | norm | Specifies the value to be returned by zlangb as described above. |
| [in] | n | Order of the matrix A. (n >= 0) (If n = 0, returns 0) |
| [in] | kl | Number of sub-diagonals of the matrix A. (kl >= 0) |
| [in] | ku | Number of super-diagonals of the matrix A. (ku >= 0) |
| [in] | ldab | Leading dimension of the two dimensional array ab[][]. (ldab >= kl + ku + 1) |
| [in] | ab[][] | Array ab[lab][ldab] (lab >= n)
m x n band matrix A in kl+ku+1 x n band matrix form. |
| [out] | work[] | Array work[lwork] (lwork >= max(1, n) when norm = 'I', otherwise work[] is not referenced)
Work array. |
- Reference
- LAPACK
|