linalg 1.8.2
A linear algebra library that provides a user-friendly interface to several BLAS and LAPACK routines.
|
Multiplies a banded matrix, A, with a diagonal matrix, B, such that A = alpha * A * B, or A = alpha * B * A. More...
Public Member Functions | |
band_diag_mtx_mult_dbl | |
band_diag_mtx_mult_cmplx | |
Multiplies a banded matrix, A, with a diagonal matrix, B, such that A = alpha * A * B, or A = alpha * B * A.
[in] | left | Set to true to compute A = alpha * A * B; else, set to false to compute A = alpha * B * A. |
[in] | m | The number of rows in matrix A. |
[in] | kl | The number of subdiagonals. Must be at least 0. |
[in] | ku | The number of superdiagonals. Must be at least 0. |
[in] | alpha | The scalar multiplier. |
[in,out] | a | The M-by-N matrix A storing the banded matrix in a compressed form supplied column by column. The following code segment transfers between a full matrix to the banded matrix storage scheme. do j = 1, n
k = ku + 1 - j
do i = max(1, j - ku), min(m, j + kl)
a(k + i, j) = matrix(i, j)
end do
end do
|
[in] | b | An array containing the diagonal elements of matrix B. |
[in,out] | err | An optional errors-based object that if provided can be used to retrieve information relating to any errors encountered during execution. If not provided, a default implementation of the errors class is used internally to provide error handling. Possible errors and warning messages that may be encountered are as follows.
|
Definition at line 4135 of file linalg.f90.