|
|
◆ csc_dense()
| void csc_dense |
( |
int |
m, |
|
|
int |
n, |
|
|
const double |
val[], |
|
|
const int |
colptr[], |
|
|
const int |
rowind[], |
|
|
int |
base, |
|
|
int |
lda, |
|
|
double |
a[], |
|
|
int * |
info |
|
) |
| |
CSC -> dense matrix
- Purpose
- This routine converts the sparse matrix in CSC format to the dense matrix.
- Parameters
-
| [in] | m | Number of rows of the matrix. (m >= 0) (if m = 0, returns without computation) |
| [in] | n | Number of columns of the matrix. (n >= 0) (if n = 0, returns without computation) |
| [in] | val[] | Array val[lval] (lval >= nnz) (nnz is the number of nonzero elements of input matrix)
Values of nonzero elements of the input matrix in CSC format. |
| [in] | colptr[] | Array colptr[lcolptr] (lcolptr >= n + 1)
Column pointers of the input matrix in CSC format. |
| [in] | rowind[] | Array rowind[lrowind] (lrowind >= nnz)
Row indices of the input matrix in CSC format. |
| [in] | base | Indexing of colptr[] and rowind[].
= 0: Zero-based (C style) indexing: Starting index is 0.
= 1: One-based (Fortran style) indexing: Starting index is 1. |
| [in] | lda | Leading dimension of array a[][]. (lda >= m) |
| [out] | a[][] | Array a[la][lda] (la >= n)
Output matrix. |
| [out] | info | = 0: Successful exit.
= i < 0: The (-i)-th argument is invalid. |
|