buds  0.1
FORTRAN reference counted types
Private Member Functions | List of all members

Create a new sparse matrix. More...

Collaboration diagram for new:
Collaboration graph

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)
 

Detailed Description

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.

Member Function/Subroutine Documentation

subroutine new_copy_ ( class(ism_csc), intent(inout)  this,
integer(ii_), intent(in)  nr,
integer(ii_), intent(in)  nc,
integer(ii_), intent(in)  nz,
integer(ii_), dimension(nc), intent(in)  cptr,
integer(ii_), dimension(nz), intent(in)  row 
)
private
Parameters
[in,out]thisthe new sparse matrix
[in]nrnumber of rows of the matrix
[in]ncnumber of columns of the matrix
[in]nznumber of non-zero elements of the matrix
[in]cptrcolumn pointers (at least size nc)
[in]rowrow-indices for the sparse elements
subroutine new_dim_ ( class(ism_csc), intent(inout)  this,
integer(ii_), intent(in)  nr,
integer(ii_), intent(in)  nc,
integer(ii_), intent(in)  nz 
)
private
Parameters
[in,out]thisthe sparse matrix
[in]nrnumber of rows of the matrix
[in]ncnumber of columns of the matrix
[in]nznumber of non-zero elements the matrix

The documentation for this interface was generated from the following files: