linalg 1.8.2
A linear algebra library that provides a user-friendly interface to several BLAS and LAPACK routines.
|
Converte a matrix stored in coordinate format to CSR format. More...
Public Member Functions | |
subroutine | coocsr (nrow, nnz, a, ir, jc, ao, jao, iao) |
Converte a matrix stored in coordinate format to CSR format.
[in] | nrow | The number of rows in the matrix. |
[in] | nnz | The number of non-zero elements in the matrix. |
[in] | a | An NNZ-element array containing the non-zero elements of the matrix. |
[in,out] | ir | An NNZ-element array containing the row indices of each non-zero element. |
[in] | jc | An NNZ-element array containing the column indices of each non-zero element. |
[out] | ao | The non-zero elements of matrix A. |
[out] | jao | The column indices of matrix A. |
[out] | iao | The index in A where the requested row starts. |
Definition at line 212 of file sparskit.f90.
subroutine sparskit::coocsr::coocsr | ( | integer(int32), intent(in) | nrow, |
integer(int32), intent(in) | nnz, | ||
real(real64), dimension(*), intent(in) | a, | ||
integer(int32), dimension(*), intent(inout) | ir, | ||
integer(int32), dimension(*), intent(in) | jc, | ||
real(real64), dimension(*) | ao, | ||
integer(int32), dimension(*), intent(out) | jao, | ||
integer(int32), dimension(*), intent(out) | iao ) |
Definition at line 212 of file sparskit.f90.