Creates a sparse array from a dense array
Routine to create a 1D sparse array from a 1D dense array
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=Float64), | intent(in), | dimension(:) | :: | A | Dense Array |
|
type(SparseArray), | intent(out) | :: | SA | Sparse Array |
Routine to create a 2D sparse array from a 2D dense array
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=Float64), | intent(in), | dimension(:,:) | :: | A | Dense Array |
|
type(SparseArray), | intent(out) | :: | SA | Sparse Array |
Routine to create a 3D sparse array from a 3D dense array
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=Float64), | intent(in), | dimension(:,:,:) | :: | A | Dense Array |
|
type(SparseArray), | intent(out) | :: | SA | Sparse Array |
Routine to create a 4D sparse array from a 4D dense array
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=Float64), | intent(in), | dimension(:,:,:,:) | :: | A | Dense Array |
|
type(SparseArray), | intent(out) | :: | SA | Sparse Array |