IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 42823


Ignore:
Timestamp:
May 8, 2025, 4:45:44 PM (12 months ago)
Author:
eugene
Message:

edited comments

Location:
trunk/psLib/src/math
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/math/psSpline.c

    r42336 r42823  
    194194 *****************************************************************************/
    195195psSpline1D *psSpline1DFitVector(
    196     const psVector* x,                  ///< Ordinates.
    197     const psVector* y,                  ///< Coordinates.
    198     psF32 dyLower,                      ///< 1st derivative at lower bound
    199     psF32 dyUpper)                      ///< 1st derivative at upper bound
     196    const psVector* x,        ///< Ordinates.
     197    const psVector* y,        ///< Coordinates.
     198    psF32 dyLower,            ///< if not NAN, lower-bound 1st derivative is defined
     199    psF32 dyUpper)            ///< if not NAN, lower-bound 1st derivative is defined
    200200{
    201201    psTrace("psLib.math", 3, "---- %s() begin ----\n", __func__);
  • trunk/psLib/src/math/psSpline.h

    r42336 r42823  
    3636{
    3737    unsigned int n;    ///< The number of knots
    38     psF32 *xKnots; ///< x-coordinate of the knots
    39     psF32 *yKnots; ///< y-coordinate of the knots
    40     psF32 *d2yKnots; ///< 2nd derivative of y at the knots
    41     bool equalSpacing; // if knots are equally spaced, the seqment choice can be optimized
    42     psF32 xMin; // for equally-spaced knots, the value at the lower bound (xKnots[0])
    43     psF32 xMax; // for equally-spaced knots, the value at the upper bound (xKnots[n])
    44     psF32 xDel; // for equally-spaced knots, the spacing (xKnots[n] - xKnots[0])/n
     38    psF32 *xKnots;     ///< x-coordinate of the knots
     39    psF32 *yKnots;     ///< y-coordinate of the knots
     40    psF32 *d2yKnots;   ///< 2nd derivative of y at the knots
     41    bool equalSpacing; ///< if knots are equally spaced, the seqment choice can be optimized
     42    psF32 xMin;        ///< for equally-spaced knots, the value at the lower bound (xKnots[0])
     43    psF32 xMax;        ///< for equally-spaced knots, the value at the upper bound (xKnots[n])
     44    psF32 xDel;        ///< for equally-spaced knots, the spacing (xKnots[n] - xKnots[0])/n
    4545}
    4646psSpline1D;
Note: See TracChangeset for help on using the changeset viewer.