PLUTO  4.4-patch2
Functions
al_sort_.c File Reference

Internal routine to sort an integer array. More...

Functions

int AL_Sort_ (int n, int *in, int *ind)
 

Detailed Description

Internal routine to sort an integer array

Author
A. Malagoli (University of Chicago)
Date
Jul 17, 1999

Function Documentation

◆ AL_Sort_()

int AL_Sort_ ( int  n,
int *  in,
int *  ind 
)

Sort and array of integers

This is a really simple implementation, since we do not really use this for large arrays.

Parameters
[in]nsize of input array (integer)
[in]ininput array
[in]indarray of the sorted index arrays (max to min)