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, by a vector x such that alpha * op(A) * x + beta * y = y. More...
Public Member Functions | |
band_mtx_vec_mult_dbl | |
band_mtx_vec_mult_cmplx | |
Multiplies a banded matrix, A, by a vector x such that alpha * op(A) * x + beta * y = y.
[in] | trans | Set to true for op(A) == A**T; else, false for op(A) == 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 | A scalar multiplier. |
[in] | 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] | x | If trans is true, this is an M-element vector; else, if trans is false, this is an N-element vector. |
[in] | beta | A scalar multiplier. |
[in,out] | y | On input, the vector Y. On output, the resulting vector. if trans is true, this vector is an N-element vector; else, it is an M-element vector. |
[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.
|
[in] | trans | Set to LA_TRANSPOSE if \( op(A) = A^T \), set to LA_HERMITIAN_TRANSPOSE if \( op(A) = A^H \), otherwise set to LA_NO_OPERATION if \( op(A) = 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 | A scalar multiplier. |
[in] | 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] | x | If trans is true, this is an M-element vector; else, if trans is false, this is an N-element vector. |
[in] | beta | A scalar multiplier. |
[in,out] | y | On input, the vector Y. On output, the resulting vector. if trans is true, this vector is an N-element vector; else, it is an M-element vector. |
[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 4030 of file linalg.f90.