SF_SPARSE_COMMON Module


Uses

  • module~~sf_sparse_common~~UsesGraph module~sf_sparse_common SF_SPARSE_COMMON module~sf_linalg SF_LINALG module~sf_sparse_common->module~sf_linalg module~sf_blacs SF_BLACS module~sf_linalg->module~sf_blacs

Used by

  • module~~sf_sparse_common~~UsedByGraph module~sf_sparse_common SF_SPARSE_COMMON module~sf_sparse_array_algebra SF_SPARSE_ARRAY_ALGEBRA module~sf_sparse_array_algebra->module~sf_sparse_common module~sf_sparse_array_csc SF_SPARSE_ARRAY_CSC module~sf_sparse_array_algebra->module~sf_sparse_array_csc module~sf_sparse_array_csr SF_SPARSE_ARRAY_CSR module~sf_sparse_array_algebra->module~sf_sparse_array_csr module~sf_sparse_array_coo SF_SPARSE_ARRAY_COO module~sf_sparse_array_coo->module~sf_sparse_common module~sf_sparse_array_csc->module~sf_sparse_common module~sf_sparse_array_csr->module~sf_sparse_common module~sf_sparse SF_SPARSE module~sf_sparse->module~sf_sparse_array_csc module~sf_sparse->module~sf_sparse_array_csr

Interfaces

public interface append

  • public subroutine append_I(vec, val)

    Arguments

    Type IntentOptional Attributes Name
    integer, intent(inout), dimension(:), allocatable :: vec
    integer, intent(in) :: val
  • public subroutine append_D(vec, val)

    Arguments

    Type IntentOptional Attributes Name
    real(kind=8), intent(inout), dimension(:), allocatable :: vec
    real(kind=8), intent(in) :: val
  • public subroutine append_Z(vec, val)

    Arguments

    Type IntentOptional Attributes Name
    complex(kind=8), intent(inout), dimension(:), allocatable :: vec
    complex(kind=8), intent(in) :: val

public interface shape

  • public function shape_matrix(self) result(shape)

    Arguments

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

    Return Value integer, dimension(2)


Derived Types

type, public ::  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

Functions

public function shape_matrix(self) result(shape)

Arguments

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

Return Value integer, dimension(2)

public recursive function binary_search(Ain, value) result(bsresult)

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: Ain(:)
integer, intent(in) :: value

Return Value integer


Subroutines

public subroutine sort_array(array, order)

Arguments

Type IntentOptional Attributes Name
integer, dimension(:) :: array
integer, dimension(size(array)) :: order

public subroutine append_I(vec, val)

Arguments

Type IntentOptional Attributes Name
integer, intent(inout), dimension(:), allocatable :: vec
integer, intent(in) :: val

public subroutine append_D(vec, val)

Arguments

Type IntentOptional Attributes Name
real(kind=8), intent(inout), dimension(:), allocatable :: vec
real(kind=8), intent(in) :: val

public subroutine append_Z(vec, val)

Arguments

Type IntentOptional Attributes Name
complex(kind=8), intent(inout), dimension(:), allocatable :: vec
complex(kind=8), intent(in) :: val