IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 9, 2004, 8:23:22 AM (22 years ago)
Author:
harman
Message:

Updated comments

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/collections/psSort.h

    r645 r945  
    11/** @file  psSort.h
    22 *
    3  *  @brief Sorts arrays
     3 *  @brief Sorts vectors
    44 *
    5  *  The psSort functions use the qsort() stdlib function with a user-defined callback to sort an array of 
    6  *  floats. The qsort function requires the starting point of the array, number of elements in the array, size 
     5 *  The psSort functions use the qsort() stdlib function with a user-defined callback to sort an array of
     6 *  floats. The qsort function requires the starting point of the array, number of elements in the array, size
    77 *  of each element, and a pointer to a callback comparison function. Once called, qsort() will sort the array
    88 *  contents in ascending order according to the comparison function. The comparison function is called with
    9  *  two arguments that point to the objects being compared - in this case two floats. The comparison function 
     9 *  two arguments that point to the objects being compared - in this case two floats. The comparison function
    1010 *  must return an integer less than, equal to, or greater than zero if the first argument is considered to be
    1111 *  respectively less than, equal to, or greater than the second. If two members compare as equal, their order
     
    1313 *
    1414 *  @author Ross Harman, MHPCC
    15  *   
    16  *  @version $Revision: 1.4 $ $Name: not supported by cvs2svn $
    17  *  @date $Date: 2004-05-12 18:07:22 $
     15 *
     16 *  @version $Revision: 1.5 $ $Name: not supported by cvs2svn $
     17 *  @date $Date: 2004-06-09 18:23:22 $
    1818 *
    1919 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    5050/** Creates an array of indices based on sort odred of float array.
    5151 *
    52  *  Sorts an array of floats and creates an integer array holding indices of sorted float values based on 
     52 *  Sorts an array of floats and creates an integer array holding indices of sorted float values based on
    5353 *  pre-sort index positions.
    5454 *
Note: See TracChangeset for help on using the changeset viewer.