IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 4, 2021, 6:10:51 PM (5 years ago)
Author:
eugene
Message:

merge changes from eam_branches/ipp-dev-20210817 (fix chebyshevs 1D, 2D, set DB field to NULL for inf, psFitsTableNew)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/math/psPolynomial.h

    r15253 r41896  
    6868    psF64 *coeffErr;                    ///< Error in coefficients
    6969    psMaskType *coeffMask;              ///< Coefficient mask
     70    double scale[1];                    ///< Chebyshev scale factor
     71    double zero[1];                     ///< Chebyshev zero point
    7072}
    7173psPolynomial1D;
     
    8082    psF64 **coeffErr;                   ///< Error in coefficients
    8183    psMaskType **coeffMask;                  ///< Coefficients mask
     84    double scale[2];                    ///< Chebyshev scale factor
     85    double zero[2];                     ///< Chebyshev zero point
    8286}
    8387psPolynomial2D;
     
    9397    psF64 ***coeffErr;                  ///< Error in coefficients
    9498    psMaskType ***coeffMask;                 ///< Coefficients mask
     99    double scale[3];                    ///< Chebyshev scale factor
     100    double zero[3];                     ///< Chebyshev zero point
    95101}
    96102psPolynomial3D;
     
    107113    psF64 ****coeffErr;                 ///< Error in coefficients
    108114    psMaskType ****coeffMask;           ///< Coefficients mask
     115    double scale[4];                    ///< Chebyshev scale factor
     116    double zero[4];                     ///< Chebyshev zero point
    109117}
    110118psPolynomial4D;
     
    305313p_chebyPolys;
    306314
     315
     316// chebyshev support functions:
     317bool psChebyshevSetScale (psPolynomial2D* myPoly, const psVector *vec, int dir);
     318psVector *psChebyshevNormVector (const psPolynomial2D* myPoly, const psVector *vec, int dir);
     319psVector *psChebyshevPolyVector (const psVector *vec, int order);
    307320
    308321/*****************************************************************************
Note: See TracChangeset for help on using the changeset viewer.