IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 9, 2007, 9:24:46 AM (19 years ago)
Author:
eugene
Message:

changed mask to coeffMask, define PS_POLY_MASK_FIT,SET

File:
1 edited

Legend:

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

    r14452 r15253  
    88 * @author GLG, MHPCC
    99 *
    10  * @version $Revision: 1.68 $ $Name: not supported by cvs2svn $
    11  * @date $Date: 2007-08-09 01:40:07 $
     10 * @version $Revision: 1.69 $ $Name: not supported by cvs2svn $
     11 * @date $Date: 2007-10-09 19:24:46 $
    1212 *
    1313 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    2727#include "psVector.h"
    2828#include "psScalar.h"
     29
     30typedef enum {
     31    PS_POLY_MASK_NONE = 0,
     32    PS_POLY_MASK_SET  = 1, // the coefficient should not be used (implies MASK_FIT)
     33    PS_POLY_MASK_FIT  = 2, // the coefficient should not be fitted
     34    PS_POLY_MASK_BOTH = 3, // the coefficient should not be fitted
     35} psPolynomialMaskValues;
    2936
    3037/** Evaluate a non-normalized Gaussian with the given mean and sigma at the
     
    6067    psF64 *coeff;                       ///< Coefficients
    6168    psF64 *coeffErr;                    ///< Error in coefficients
    62     psMaskType *mask;                   ///< Coefficient mask
     69    psMaskType *coeffMask;              ///< Coefficient mask
    6370}
    6471psPolynomial1D;
     
    7279    psF64 **coeff;                      ///< Coefficients
    7380    psF64 **coeffErr;                   ///< Error in coefficients
    74     psMaskType **mask;                  ///< Coefficients mask
     81    psMaskType **coeffMask;                  ///< Coefficients mask
    7582}
    7683psPolynomial2D;
     
    8592    psF64 ***coeff;                     ///< Coefficients
    8693    psF64 ***coeffErr;                  ///< Error in coefficients
    87     psMaskType ***mask;                 ///< Coefficients mask
     94    psMaskType ***coeffMask;                 ///< Coefficients mask
    8895}
    8996psPolynomial3D;
     
    93100{
    94101    psPolynomialType type;              ///< Polynomial type
    95     unsigned int nX;            ///< Polynomial order in x
    96     unsigned int nY;            ///< Polynomial order in y
    97     unsigned int nZ;            ///< Polynomial order in z
    98     unsigned int nT;            ///< Polynomial order in t
     102    unsigned int nX;                    ///< Polynomial order in x
     103    unsigned int nY;                    ///< Polynomial order in y
     104    unsigned int nZ;                    ///< Polynomial order in z
     105    unsigned int nT;                    ///< Polynomial order in t
    99106    psF64 ****coeff;                    ///< Coefficients
    100107    psF64 ****coeffErr;                 ///< Error in coefficients
    101     psMaskType ****mask;                ///< Coefficients mask
     108    psMaskType ****coeffMask;           ///< Coefficients mask
    102109}
    103110psPolynomial4D;
Note: See TracChangeset for help on using the changeset viewer.