IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 19, 2005, 9:53:13 AM (21 years ago)
Author:
drobbin
Message:

Made changes to poly struct (psMaskType) and spline fxns (unsigned int's)

File:
1 edited

Legend:

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

    r4969 r5066  
    1111 *  @author GLG, MHPCC
    1212 *
    13  *  @version $Revision: 1.55 $ $Name: not supported by cvs2svn $
    14  *  @date $Date: 2005-09-08 00:02:48 $
     13 *  @version $Revision: 1.56 $ $Name: not supported by cvs2svn $
     14 *  @date $Date: 2005-09-19 19:53:13 $
    1515 *
    1616 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    5656    psF32 mean,                        ///< The mean of the Gaussian
    5757    psF32 sigma,                       ///< The sigma of the Gaussian
    58     psS32 Npts                         ///< The size of the vector
     58    unsigned int Npts                  ///< The size of the vector
    5959);
    6060
     
    7373{
    7474    psPolynomialType type;             ///< Polynomial type
    75     int n;                             ///< Number of terms
     75    unsigned int n;                    ///< Number of terms
    7676    psF64 *coeff;                      ///< Coefficients
    7777    psF64 *coeffErr;                   ///< Error in coefficients
    78     char *mask;                        ///< Coefficient mask
     78    psMaskType *mask;                  ///< Coefficient mask
    7979}
    8080psPolynomial1D;
     
    8484{
    8585    psPolynomialType type;             ///< Polynomial type
    86     int nX;                            ///< Number of terms in x
    87     int nY;                            ///< Number of terms in y
     86    unsigned int nX;                   ///< Number of terms in x
     87    unsigned int nY;                   ///< Number of terms in y
    8888    psF64 **coeff;                     ///< Coefficients
    8989    psF64 **coeffErr;                  ///< Error in coefficients
    90     char **mask;                       ///< Coefficients mask
     90    psMaskType **mask;                 ///< Coefficients mask
    9191}
    9292psPolynomial2D;
     
    9696{
    9797    psPolynomialType type;             ///< Polynomial type
    98     int nX;                           ///< Number of terms in x
    99     int nY;                            ///< Number of terms in y
    100     int nZ;                           ///< Number of terms in z
     98    unsigned int nX;                   ///< Number of terms in x
     99    unsigned int nY;                   ///< Number of terms in y
     100    unsigned int nZ;                   ///< Number of terms in z
    101101    psF64 ***coeff;                    ///< Coefficients
    102102    psF64 ***coeffErr;                 ///< Error in coefficients
    103     char ***mask;                      ///< Coefficients mask
     103    psMaskType ***mask;                ///< Coefficients mask
    104104}
    105105psPolynomial3D;
     
    109109{
    110110    psPolynomialType type;             ///< Polynomial type
    111     int nX;                            ///< Number of terms in x
    112     int nY;                            ///< Number of terms in y
    113     int nZ;                            ///< Number of terms in z
    114     int nT;                            ///< Number of terms in t
     111    unsigned int nX;                   ///< Number of terms in x
     112    unsigned int nY;                   ///< Number of terms in y
     113    unsigned int nZ;                   ///< Number of terms in z
     114    unsigned int nT;                   ///< Number of terms in t
    115115    psF64 ****coeff;                   ///< Coefficients
    116116    psF64 ****coeffErr;                ///< Error in coefficients
    117     char ****mask;                     ///< Coefficients mask
     117    psMaskType ****mask;               ///< Coefficients mask
    118118}
    119119psPolynomial4D;
     
    125125 */
    126126psPolynomial1D* psPolynomial1DAlloc(
    127     int n,                             ///< Number of terms
     127    unsigned int n,                    ///< Number of terms
    128128    psPolynomialType type              ///< Polynomial Type
    129129);
     
    134134 */
    135135psPolynomial2D* psPolynomial2DAlloc(
    136     int nX,                   ///< Number of terms in x
    137     int nY,                   ///< Number of terms in y
     136    unsigned int nX,                   ///< Number of terms in x
     137    unsigned int nY,                   ///< Number of terms in y
    138138    psPolynomialType type              ///< Polynomial Type
    139139);
     
    144144 */
    145145psPolynomial3D* psPolynomial3DAlloc(
    146     int nX,                            ///< Number of terms in x
    147     int nY,                            ///< Number of terms in y
    148     int nZ,                            ///< Number of terms in z
     146    unsigned int nX,                   ///< Number of terms in x
     147    unsigned int nY,                   ///< Number of terms in y
     148    unsigned int nZ,                   ///< Number of terms in z
    149149    psPolynomialType type              ///< Polynomial Type
    150150);
     
    155155 */
    156156psPolynomial4D* psPolynomial4DAlloc(
    157     int nX,                            ///< Number of terms in x
    158     int nY,                            ///< Number of terms in y
    159     int nZ,                            ///< Number of terms in z
    160     int nT,                            ///< Number of terms in t
     157    unsigned int nX,                   ///< Number of terms in x
     158    unsigned int nY,                   ///< Number of terms in y
     159    unsigned int nZ,                   ///< Number of terms in z
     160    unsigned int nT,                   ///< Number of terms in t
    161161    psPolynomialType type              ///< Polynomial Type
    162162);
Note: See TracChangeset for help on using the changeset viewer.