Changeset 753 for trunk/archive/pslib/include/psMinimize.h
- Timestamp:
- May 20, 2004, 6:12:37 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/archive/pslib/include/psMinimize.h (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/archive/pslib/include/psMinimize.h
r671 r753 15 15 psVector * 16 16 psMinimize(psVector *restrict initialGuess, ///< Initial guess and answer 17 float (*myFunction)(const psVector *restrict ), ///< Function to minimize18 float (*myFuncDeriv)(const psVector *restrict ), ///< Derivatives of function, or NULL17 float (*myFunction)(const psVector *restrict, const psVector *restrict), ///< Function to minimize 18 float (*myFuncDeriv)(const psVector *restrict, const psVector *restrict), ///< Derivatives of function, or NULL 19 19 const psVector *restrict paramMask) ///< 1 = fit for parameter, 0 = hold parameter constant 20 20 ; … … 24 24 psVector * 25 25 psMinimizeChi2(psVector *restrict initialGuess, ///< Initial guess and answer 26 float (*evalModel)(const psVector *restrict, 27 const psVector *restrict), ///< Model to fit; (domain and params) 26 float (*evalModel)(const psVector *restrict, const psVector *restrict), ///< Model to fit; (domain and params) 28 27 const psVector *restrict domain, ///< The domain values for the corresponding measurements 29 28 const psVector *restrict data, ///< Data to fit 30 29 const psVector *restrict errors, ///< Errors in the data 31 const psVector *restrict paramMask) ///< 1 = fit for parameter, 0 = hold parameter constant 30 const psVector *restrict paramMask, ///< 1 = fit for parameter, 0 = hold parameter constant 31 float ChiSq) ///< calculated chisq of fit 32 32 ; 33 33 … … 35 35 psPolynomial1D * 36 36 psVectorFitPolynomial(psPolynomial1D myPoly, ///< Polynomial to fit 37 const psVector *restrict x, ///< Ordinates (or NULL to just use the indices)38 const psVector *restrict y, ///< Coordinates39 const psVector *restrict yErr) ///< Errors in coordinates, or NULL37 const psVector *restrict x, ///< Ordinates (or NULL to just use the indices) 38 const psVector *restrict y, ///< Coordinates 39 const psVector *restrict yErr) ///< Errors in coordinates, or NULL 40 40 ; 41 41
Note:
See TracChangeset
for help on using the changeset viewer.
