Changeset 153 for trunk/archive/pslib/include/psMinimise.h
- Timestamp:
- Mar 9, 2004, 12:28:16 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/archive/pslib/include/psMinimise.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/archive/pslib/include/psMinimise.h
r149 r153 7 7 /* Minimisation */ 8 8 9 /* Minimise a particular function */9 /** Minimise a particular function */ 10 10 psFloatArray * 11 psMinimise(float (*myFunction)(const psFloatArray *restrict), // Function to minimise12 psFloatArray *restrict initialGuess // Initial guess11 psMinimise(float (*myFunction)(const psFloatArray *restrict), //!< Function to minimise 12 psFloatArray *restrict initialGuess //!< Initial guess 13 13 ); 14 14 15 15 16 /* Minimise chi^2 for input data */16 /** Minimise chi^2 for input data */ 17 17 psFloatArray * 18 18 psMinimiseChi2(float (*evalModel)(const psFloatArray *restrict, 19 const psFloatArray *restrict), // Model to fit; receives domain and20 //parameters21 const psFloatArray *restrict domain, // The domain values for the corresponding measurements22 const psFloatArray *restrict data, // Data to fit23 const psFloatArray *restrict errors, // Errors in the data24 psFloatArray *restrict initialGuess, // Initial guess25 const psIntArray *restrict guessMask // 1 = fit for parameter, 0 = hold parameter constant19 const psFloatArray *restrict), //!< Model to fit; receives domain and 20 //!< parameters 21 const psFloatArray *restrict domain, //!< The domain values for the corresponding measurements 22 const psFloatArray *restrict data, //!< Data to fit 23 const psFloatArray *restrict errors, //!< Errors in the data 24 psFloatArray *restrict initialGuess, //!< Initial guess 25 const psIntArray *restrict guessMask //!< 1 = fit for parameter, 0 = hold parameter constant 26 26 ); 27 27 28 /* Derive a polynomial that goes through the points --- can be done analytically */28 /** Derive a polynomial that goes through the points --- can be done analytically */ 29 29 psFloatArray * 30 psGetArrayPolynomial(const psFloatArray *restrict ord, // Ordinates (or NULL to just use the indices)31 const psFloatArray *restrict coord // Coordinates30 psGetArrayPolynomial(const psFloatArray *restrict ord, //!< Ordinates (or NULL to just use the indices) 31 const psFloatArray *restrict coord //!< Coordinates 32 32 ); 33 33
Note:
See TracChangeset
for help on using the changeset viewer.
