Changeset 12434 for trunk/psLib/src/math/psMathUtils.h
- Timestamp:
- Mar 13, 2007, 4:36:28 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/math/psMathUtils.h (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/math/psMathUtils.h
r11248 r12434 6 6 * @author GLG, MHPCC 7 7 * 8 * @version $Revision: 1. 4$ $Name: not supported by cvs2svn $9 * @date $Date: 2007-0 1-23 22:47:23$8 * @version $Revision: 1.5 $ $Name: not supported by cvs2svn $ 9 * @date $Date: 2007-03-14 02:36:28 $ 10 10 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii 11 11 */ … … 25 25 #include "psPolynomial.h" 26 26 27 typedef enum { 28 PS_BINARY_DISECT_PASS, 29 PS_BINARY_DISECT_OUTSIDE_RANGE, 30 PS_BINARY_DISECT_INVALID_INPUT, 31 PS_BINARY_DISECT_INVALID_TYPE, 32 } psVectorBinaryDisectResult; 33 27 34 /** Performs a binary disection on a monotonically non-decreasing vector. 28 35 * Searches through an array of data for a specified value. … … 30 37 * @return psS32 corresponding index number of specified value 31 38 */ 32 psS32 p_psVectorBinDisect( 39 psS32 psVectorBinaryDisect( 40 psVectorBinaryDisectResult *status, 33 41 const psVector *bins, ///< Array of non-decreasing values 34 42 const psScalar *x ///< Target value to find
Note:
See TracChangeset
for help on using the changeset viewer.
