linalg 1.8.2
A linear algebra library that provides a user-friendly interface to several BLAS and LAPACK routines.
|
Converts the LINPACK, BLAS, LAPACK banded matrix format into a CSR format. More...
Public Member Functions | |
subroutine | bndcsr (n, abd, nabd, lowd, ml, mu, a, ja, ia, len, ierr) |
Converts the LINPACK, BLAS, LAPACK banded matrix format into a CSR format.
[in] | n | The row dimension of the matrix. |
[in] | abd | The banded matrix. |
[in] | nabd | The leading dimension of abd . |
[in] | lowd | The row index where the lowest diagonal (leftmost) of A is located. LINPACK uses LOWD = 2 * ML + MU + 1. |
[in] | ml | The bandwidth of the strict lower part of A. |
[in] | mu | The bandwidth of the strict upper part of A. |
[out] | a | The non-zero elements of matrix A. |
[out] | ja | The column indices of matrix A. |
[out] | ia | The index in A where the requested row starts. |
[in] | len | The length of a and ja . |
[out] | ierr | Error message output.
|
Definition at line 150 of file sparskit.f90.
subroutine sparskit::bndcsr::bndcsr | ( | integer(int32), intent(in) | n, |
real(real64), dimension(nabd,*), intent(in) | abd, | ||
integer(int32), intent(in) | nabd, | ||
integer(int32), intent(in) | lowd, | ||
integer(int32), intent(in) | ml, | ||
integer(int32), intent(in) | mu, | ||
real(real64), dimension(*), intent(out) | a, | ||
integer(int32), dimension(*), intent(out) | ja, | ||
integer(int32), dimension(n+1), intent(out) | ia, | ||
integer(int32), intent(in) | len, | ||
integer(int32), intent(out) | ierr ) |
Definition at line 150 of file sparskit.f90.