sparse Interface

public interface sparse

Creates a sparse array from a dense array


Contents


Module Procedures

private subroutine sparse_1(A, SA)

Routine to create a 1D sparse array from a 1D dense array

Arguments

Type IntentOptional AttributesName
real(kind=Float64), intent(in), dimension(:):: A

Dense Array

type(SparseArray), intent(out) :: SA

Sparse Array

private subroutine sparse_2(A, SA)

Routine to create a 2D sparse array from a 2D dense array

Arguments

Type IntentOptional AttributesName
real(kind=Float64), intent(in), dimension(:,:):: A

Dense Array

type(SparseArray), intent(out) :: SA

Sparse Array

private subroutine sparse_3(A, SA)

Routine to create a 3D sparse array from a 3D dense array

Arguments

Type IntentOptional AttributesName
real(kind=Float64), intent(in), dimension(:,:,:):: A

Dense Array

type(SparseArray), intent(out) :: SA

Sparse Array

private subroutine sparse_4(A, SA)

Routine to create a 4D sparse array from a 4D dense array

Arguments

Type IntentOptional AttributesName
real(kind=Float64), intent(in), dimension(:,:,:,:):: A

Dense Array

type(SparseArray), intent(out) :: SA

Sparse Array