linalg 1.8.2
A linear algebra library that provides a user-friendly interface to several BLAS and LAPACK routines.
|
Converts a CSR matrix into a CSC matrix (transposition). More...
Public Member Functions | |
subroutine | csrcsc2 (n, n2, job, ipos, a, ja, ia, a0, ja0, ia0) |
Converts a CSR matrix into a CSC matrix (transposition).
[in] | n | The number of rows in the CSR matrix. |
[in] | n2 | The number of columns in the CSC matrix. |
[in] | job | Fill the values (job == 1) or only the pattern (job /= 1). |
[in] | ipos | Starting position of A0 in JA0. |
[in] | a | The non-zero elements of matrix A. |
[in] | ja | The column indices of matrix A. |
[in] | ia | The index in A where the requested row starts. |
[out] | a0 | The non-zero elements of the transposed array. |
[out] | ja0 | The size NNZ array containing the column indices. |
[out] | ia0 | The N+1 size array containing the column starts. |
Definition at line 124 of file sparskit.f90.
subroutine sparskit::csrcsc2::csrcsc2 | ( | integer(int32), intent(in) | n, |
integer(int32), intent(in) | n2, | ||
integer(int32), intent(in) | job, | ||
integer(int32), intent(in) | ipos, | ||
real(real64), dimension(*), intent(in) | a, | ||
integer(int32), dimension(*), intent(in) | ja, | ||
integer(int32), dimension(n+1), intent(in) | ia, | ||
real(real64), dimension(*), intent(out) | a0, | ||
integer(int32), dimension(*), intent(out) | ja0, | ||
integer(int32), dimension(n2+1), intent(out) | ia0 ) |
Definition at line 124 of file sparskit.f90.