Changeset 247 for trunk/archive/pslib/include/psSort.h
- Timestamp:
- Mar 15, 2004, 3:20:03 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/archive/pslib/include/psSort.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/archive/pslib/include/psSort.h
r153 r247 2 2 #define PS_SORT_H 3 3 4 #include "psStdArrays.h" 5 6 /* Sorting */ 4 /** \file psSort.h 5 * \brief general sorting operations 6 * \ingroup MathGroup 7 */ 7 8 8 9 /** Sort an array. Inputs not restrict-ed to allow sort in place */ … … 10 11 psSort(psFloatArray *out, //!< Sorted array to return. May be NULL 11 12 const psFloatArray *myArray //!< Array to sort 12 );13 ); 13 14 14 15 /** Sort an array, along with some other stuff. Returns an index array */ 15 16 psIntArray * 16 ps CoSort(psIntArray *restrict out; //!< Output index array (may be NULL)17 const psFloatArray *restrict myArray //!< Array to sort18 );17 psSortIndex(psIntArray *restrict out; //!< Output index array (may be NULL) 18 const psFloatArray *restrict myArray //!< Array to sort 19 ); 19 20 20 21 #endif
Note:
See TracChangeset
for help on using the changeset viewer.
