sort.hpp File Reference

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.


Detailed Description

Insertion sort algorithm.


Function Documentation

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.


Generated on Thu Apr 21 13:39:21 2011 for IBSimu by  doxygen 1.4.7