IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 336


Ignore:
Timestamp:
Mar 31, 2004, 3:55:23 PM (22 years ago)
Author:
Paul Price
Message:

Added error in y for the polynomial fit.

File:
1 edited

Legend:

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

    r334 r336  
    3131
    3232/** Derive a polynomial fit by chi^2 minimisation --- can be done analytically */
    33 psFloatArray *
    34 psGetArrayPolynomial(const psFloatArray *restrict x, //!< Ordinates (or NULL to just use the indices)
     33psPolynomial1D *
     34psGetArrayPolynomial(psPolynomial1D myPoly, //!< Polynomial to fit
     35                     const psFloatArray *restrict x, //!< Ordinates (or NULL to just use the indices)
    3536                     const psFloatArray *restrict y, //!< Coordinates
    3637                     const psFloatArray *restrict yErr //!< Errors in coordinates, or NULL
Note: See TracChangeset for help on using the changeset viewer.