Changeset 1426 for trunk/psLib/src/dataManip/psMinimize.h
- Timestamp:
- Aug 9, 2004, 12:44:25 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/dataManip/psMinimize.h (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/dataManip/psMinimize.h
r1407 r1426 22 22 23 23 /** Minimize chi^2 for input data */ 24 psVector *psMinimizeChi2(float (*evalModel) (const psVector * restrict, const psVector * restrict), // /<24 psVector *psMinimizeChi2(float (*evalModel) (const psVector * restrict, const psVector * restrict), ///< 25 25 // Model 26 26 // to … … 29 29 // and 30 30 // params) 31 float (*DevalModel) (const psVector * restrict, const psVector * restrict, int), // /<31 float (*DevalModel) (const psVector * restrict, const psVector * restrict, int), ///< 32 32 // Derivative 33 33 // of … … 38 38 // and 39 39 // params) 40 const psImage * restrict domain, // /< The domain values for the corresponding40 const psImage * restrict domain, ///< The domain values for the corresponding 41 41 // measurements 42 const psVector * restrict data, // /< Data to fit43 const psVector * restrict errors, // /< Errors in the data44 psVector * restrict initialGuess, // /< Initial guess45 const psVector * restrict paramMask, // /< 1 = fit for parameter, 0 = hold42 const psVector * restrict data, ///< Data to fit 43 const psVector * restrict errors, ///< Errors in the data 44 psVector * restrict initialGuess, ///< Initial guess 45 const psVector * restrict paramMask, ///< 1 = fit for parameter, 0 = hold 46 46 // parameter constant 47 47 float *chiSq); 48 48 49 49 /** Derive a polynomial fit by chi^2 minimisation (analytically) */ 50 psPolynomial1D *psVectorFitPolynomial1D(psPolynomial1D * myPoly, // /< Polynomial to fit51 const psVector * restrict x, // /< Ordinates (or NULL to just use50 psPolynomial1D *psVectorFitPolynomial1D(psPolynomial1D * myPoly, ///< Polynomial to fit 51 const psVector * restrict x, ///< Ordinates (or NULL to just use 52 52 // the indices) 53 const psVector * restrict y, // /< Coordinates54 const psVector * restrict yErr // /< Errors in coordinates, or NULL53 const psVector * restrict y, ///< Coordinates 54 const psVector * restrict yErr ///< Errors in coordinates, or NULL 55 55 ); 56 56
Note:
See TracChangeset
for help on using the changeset viewer.
