IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 20, 2004, 6:12:37 PM (22 years ago)
Author:
eugene
Message:

substantial API changes based on change to PSLib SDRS

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/archive/pslib/include/psMinimize.h

    r671 r753  
    1515psVector *
    1616psMinimize(psVector *restrict initialGuess, ///< Initial guess and answer
    17            float (*myFunction)(const psVector *restrict), ///< Function to minimize
    18            float (*myFuncDeriv)(const psVector *restrict), ///< Derivatives of function, or NULL
     17           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
    1919           const psVector *restrict paramMask) ///< 1 = fit for parameter, 0 = hold parameter constant
    2020;
     
    2424psVector *
    2525psMinimizeChi2(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)
    2827               const psVector *restrict domain, ///< The domain values for the corresponding measurements
    2928               const psVector *restrict data, ///< Data to fit
    3029               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
    3232;
    3333
     
    3535psPolynomial1D *
    3636psVectorFitPolynomial(psPolynomial1D myPoly, ///< Polynomial to fit
    37                      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
     37                      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
    4040;
    4141
Note: See TracChangeset for help on using the changeset viewer.