IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 1422


Ignore:
Timestamp:
Aug 9, 2004, 11:22:27 AM (22 years ago)
Author:
Paul Price
Message:

Added psVectorFitSpline1D.

File:
1 edited

Legend:

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

    r753 r1422  
    3434/** Derive a polynomial fit by chi^2 minimisation --- can be done analytically */
    3535psPolynomial1D *
    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, ///< Coordinates
    39                       const psVector *restrict yErr) ///< Errors in coordinates, or NULL
     36psVectorFitPolynomial1D(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
    4040;
     41
     42psSpline1D *
     43psVectorFitSpline1D(psSpline1D *mySpline, ///< Spline to fit
     44                    const psVector *x,  ///< Ordinates (or NULL to just use the indices)
     45                    const psVector *y,  ///< Coordinates
     46                    const psVector *yErr ///< Errors in coordinates, or NULL
     47    );
    4148
    4249/* \} */ // End of MathGroup Functions
Note: See TracChangeset for help on using the changeset viewer.