type_coo Derived Type

type, public, extends(abst_matrix) :: type_coo


Inherits

type~~type_coo~~InheritsGraph type~type_coo type_coo type~abst_matrix abst_matrix type~type_coo->type~abst_matrix

Components

Type Visibility Attributes Name Initial
integer(kind=int32), public, allocatable :: col(:)
integer(kind=int32), public :: nnz = 0
integer(kind=int32), public, allocatable :: row(:)
real(kind=real64), public, allocatable :: val(:)

Type-Bound Procedures

procedure, public, pass(self) :: copy => copy_coo

  • private function copy_coo(self) result(B)

    Arguments

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

    Return Value class(abst_matrix), allocatable

procedure, public, pass(self) :: destory => destory_coo

  • private subroutine destory_coo(self)

    Arguments

    Type IntentOptional Attributes Name
    class(type_coo), intent(inout) :: self

procedure, public, pass(self) :: find => find_coo

  • private subroutine find_coo(self, row, col, index)

    Arguments

    Type IntentOptional Attributes Name
    class(type_coo), intent(in) :: self
    integer(kind=int32), intent(in) :: row
    integer(kind=int32), intent(in) :: col
    integer(kind=int32), intent(inout) :: index

procedure, public, pass(self) :: initialize => initialize_type_coo