Changeset 5530 for trunk/psLib/src/math/psMinimize.h
- Timestamp:
- Nov 16, 2005, 1:07:10 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/math/psMinimize.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/math/psMinimize.h
r5176 r5530 8 8 * @author GLG, MHPCC 9 9 * 10 * @version $Revision: 1. 59$ $Name: not supported by cvs2svn $11 * @date $Date: 2005- 09-29 02:16:19 $10 * @version $Revision: 1.60 $ $Name: not supported by cvs2svn $ 11 * @date $Date: 2005-11-16 23:06:19 $ 12 12 * 13 13 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 52 52 psMinimization; 53 53 54 /** Allocates a psMinimization structure. 55 * 56 * @return psMinimization* : a new psMinimization struct 57 */ 58 psMinimization *psMinimizationAlloc( 59 int maxIter, ///< Number of minimization iterations to perform. 60 float tol ///< Requested error tolerance 61 ); 54 #define P_PSMINIMIZATION_SET_MAXITER(m,val) *(int*)&m->maxIter = val 55 #define P_PSMINIMIZATION_SET_TOL(m,val) *(float*)&m->tol = val 56 57 58 /** Allocates a psMinimization structure. 59 * 60 * @return psMinimization* : a new psMinimization struct 61 */ 62 psMinimization *psMinimizationAlloc( 63 int maxIter, ///< Number of minimization iterations to perform. 64 float tol ///< Requested error tolerance 65 ); 62 66 63 67 /** Checks the type of a particular pointer.
Note:
See TracChangeset
for help on using the changeset viewer.
