Changeset 1233 for trunk/psLib/src/collections/psVector.h
- Timestamp:
- Jul 15, 2004, 1:52:34 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/collections/psVector.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/collections/psVector.h
r1228 r1233 11 11 * @author Ross Harman, MHPCC 12 12 * 13 * @version $Revision: 1.1 2$ $Name: not supported by cvs2svn $14 * @date $Date: 2004-07-15 2 2:18:02$13 * @version $Revision: 1.13 $ $Name: not supported by cvs2svn $ 14 * @date $Date: 2004-07-15 23:52:33 $ 15 15 * 16 16 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 99 99 ); 100 100 101 /** Sort an array of floats. 102 * 103 * Sorts an array of floats in ascending order. This function is valid for 104 * all non-complex data types. 105 * 106 * @return psFloatArray*: Pointer to sorted psFloatArray. 107 */ 108 109 psVector *psVectorSort( 110 psVector *restrict outVector, ///< the output vector to recycle, or NULL if new vector desired. 111 const psVector *restrict inVector ///< the vector to sort. 112 ); 113 114 /** Creates an array of indices based on sort odred of float array. 115 * 116 * Sorts an array of floats and creates an integer array holding indices of 117 * sorted float values based on pre-sort index positions. 118 * 119 * @return psIntArray*: Pointer to psIntArray of sorted indices. 120 */ 121 122 psVector *psVectorSortIndex( 123 psVector *restrict outVector, 124 const psVector *restrict inVector 125 ); 126 127 101 128 /// @} 102 129
Note:
See TracChangeset
for help on using the changeset viewer.
