|
buds
0.1
FORTRAN reference counted types
|
Create a new sparse matrix. More...

Private Member Functions | |
| subroutine | new_dim_ (this, nr, nc, nz) |
| subroutine | new_copy_ (this, nr, nc, nz, cptr, row) |
| subroutine | new_dim_ (this, nr, nc, nz) |
| subroutine | new_copy_ (this, nr, nc, nz, cptr, row) |
Create a new sparse matrix.
You may either create an empty sparse matrix with a fixed size, or create a sparse matrix from existing data.
|
private |
| [in,out] | this | the new sparse matrix |
| [in] | nr | number of rows of the matrix |
| [in] | nc | number of columns of the matrix |
| [in] | nz | number of non-zero elements of the matrix |
| [in] | cptr | column pointers (at least size nc) |
| [in] | row | row-indices for the sparse elements |
|
private |
| [in,out] | this | the sparse matrix |
| [in] | nr | number of rows of the matrix |
| [in] | nc | number of columns of the matrix |
| [in] | nz | number of non-zero elements the matrix |
1.8.11