sparse_matrix Derived Type

type, public :: sparse_matrix


Inherited by

type~~sparse_matrix~~InheritedByGraph type~sparse_matrix sparse_matrix type~sparse_dmatrix_csc sparse_dmatrix_csc type~sparse_dmatrix_csc->type~sparse_matrix type~sparse_dmatrix_csr sparse_dmatrix_csr type~sparse_dmatrix_csr->type~sparse_matrix type~sparse_zmatrix_csc sparse_zmatrix_csc type~sparse_zmatrix_csc->type~sparse_matrix type~sparse_zmatrix_csr sparse_zmatrix_csr type~sparse_zmatrix_csr->type~sparse_matrix

Components

Type Visibility Attributes Name Initial
integer, public :: Nrow
integer, public :: Ncol
integer, public :: Nelements
logical, public :: status = .false.

Type-Bound Procedures

procedure, public, pass :: shape => shape_matrix

  • public function shape_matrix(self) result(shape)

    Arguments

    Type IntentOptional Attributes Name
    class(sparse_matrix), intent(in) :: self

    Return Value integer, dimension(2)

Source Code

  type sparse_matrix
     integer                                   :: Nrow
     integer                                   :: Ncol
     integer                                   :: Nelements
     logical                                   :: status=.false.
   contains
     procedure,pass :: shape     => shape_matrix
  end type sparse_matrix