ColumnSort
This routine sorts the elements of a matrix (stored in Compressed Sparse Row Format) in increasing order of their column indices within each row. It uses insertion sort algorithm.
values
= logical indicating whether the real values a(*) must also be permuted. IF (.not. values) then the arraya
is not touched by csort and can be a dummy array.- Default value of
SortValue
is true.
Interface
- 📝 Interface
- ◉ Close
INTERFACE
MODULE SUBROUTINE ColumnSORT(obj, isValues)
TYPE(CSRMatrix_), INTENT(INOUT) :: obj
LOGICAL(LGT), INTENT(IN), OPTIONAL :: isValues
END SUBROUTINE ColumnSORT
END INTERFACE