IBSimu 1.0.4
|
Insertion sort algorithm. More...
Go to the source code of this file.
Functions | |
void | sort_iv (int *ind, double *val, int start, int end) |
Sort index-value pairs in ascending index order. |
Insertion sort algorithm.
void sort_iv | ( | int * | ind, |
double * | val, | ||
int | start, | ||
int | end | ||
) | [inline] |
Sort index-value pairs in ascending index order.
Sort uses insertion sort algorithm, which is rather fast with small arrays, which should be the case with most sparse matrix applications.