Navigation

Main Page
Download
Support
Installation
Tutorial
Examples
Reference Manual
   Version 1.0.5new_solver
   Version 1.0.5dev
      Class Index
      File List
   Version 1.0.5b
   Version 1.0.4dev
   Version 1.0.4
Publications


Hosted by Get Ion Beam Simulator at SourceForge.net. Fast, secure and Free Open Source software downloads

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.


Reference manual for Ion Beam Simulator 1.0.5dev
Generated by Doxygen 1.7.1 on Mon Feb 6 2012 15:07:16.