IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 28, 2005, 2:43:46 PM (21 years ago)
Author:
drobbin
Message:

made requested revisions to psPolynomials per apidelta-report-cycle6

File:
1 edited

Legend:

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

    r4405 r4422  
    1212 *  @author GLG, MHPCC
    1313 *
    14  *  @version $Revision: 1.49 $ $Name: not supported by cvs2svn $
    15  *  @date $Date: 2005-06-28 00:53:53 $
     14 *  @version $Revision: 1.50 $ $Name: not supported by cvs2svn $
     15 *  @date $Date: 2005-06-29 00:43:46 $
    1616 *
    1717 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    7474{
    7575    psPolynomialType type;             ///< Polynomial type
    76     psS32 n;                           ///< Number of terms
     76    unsigned int n;                   ///< Number of terms
    7777    psF32 *coeff;                      ///< Coefficients
    7878    psF32 *coeffErr;                   ///< Error in coefficients
     
    8585{
    8686    psPolynomialType type;             ///< Polynomial type
    87     psS32 nX;                          ///< Number of terms in x
    88     psS32 nY;                          ///< Number of terms in y
     87    unsigned int nX;                   ///< Number of terms in x
     88    unsigned int nY;                   ///< Number of terms in y
    8989    psF32 **coeff;                     ///< Coefficients
    9090    psF32 **coeffErr;                  ///< Error in coefficients
     
    9797{
    9898    psPolynomialType type;             ///< Polynomial type
    99     psS32 nX;                          ///< Number of terms in x
    100     psS32 nY;                          ///< Number of terms in y
    101     psS32 nZ;                          ///< Number of terms in z
     99    unsigned int nX;                   ///< Number of terms in x
     100    unsigned int nY;                   ///< Number of terms in y
     101    unsigned int nZ;                   ///< Number of terms in z
    102102    psF32 ***coeff;                    ///< Coefficients
    103103    psF32 ***coeffErr;                 ///< Error in coefficients
     
    110110{
    111111    psPolynomialType type;             ///< Polynomial type
    112     psS32 nW;                          ///< Number of terms in w
    113     psS32 nX;                          ///< Number of terms in x
    114     psS32 nY;                          ///< Number of terms in y
    115     psS32 nZ;                          ///< Number of terms in z
     112    unsigned int nX;                   ///< Number of terms in x
     113    unsigned int nY;                   ///< Number of terms in y
     114    unsigned int nZ;                   ///< Number of terms in z
     115    unsigned int nT;                   ///< Number of terms in t
    116116    psF32 ****coeff;                   ///< Coefficients
    117117    psF32 ****coeffErr;                ///< Error in coefficients
     
    126126 */
    127127psPolynomial1D* psPolynomial1DAlloc(
    128     psS32 n,                           ///< Number of terms
     128    int n,                   ///< Number of terms
    129129    psPolynomialType type              ///< Polynomial Type
    130130);
     
    135135 */
    136136psPolynomial2D* psPolynomial2DAlloc(
    137     psS32 nX,                          ///< Number of terms in x
    138     psS32 nY,                          ///< Number of terms in y
     137    int nX,                   ///< Number of terms in x
     138    int nY,                   ///< Number of terms in y
    139139    psPolynomialType type              ///< Polynomial Type
    140140);
     
    145145 */
    146146psPolynomial3D* psPolynomial3DAlloc(
    147     psS32 nX,                          ///< Number of terms in x
    148     psS32 nY,                          ///< Number of terms in y
    149     psS32 nZ,                          ///< Number of terms in z
     147    int nX,                   ///< Number of terms in x
     148    int nY,                   ///< Number of terms in y
     149    int nZ,                   ///< Number of terms in z
    150150    psPolynomialType type              ///< Polynomial Type
    151151);
     
    156156 */
    157157psPolynomial4D* psPolynomial4DAlloc(
    158     psS32 nW,                          ///< Number of terms in w
    159     psS32 nX,                          ///< Number of terms in x
    160     psS32 nY,                          ///< Number of terms in y
    161     psS32 nZ,                          ///< Number of terms in z
     158    int nX,                   ///< Number of terms in x
     159    int nY,                   ///< Number of terms in y
     160    int nZ,                   ///< Number of terms in z
     161    int nT,                   ///< Number of terms in t
    162162    psPolynomialType type              ///< Polynomial Type
    163163);
     
    177177 */
    178178psF64 psPolynomial2DEval(
    179     const psPolynomial2D* poly,         ///< Coefficients for the polynomial
    180     psF64 x,                            ///< x location at which to evaluate
    181     psF64 y                             ///< y location at which to evaluate
     179    const psPolynomial2D* poly,        ///< Coefficients for the polynomial
     180    psF64 x,                           ///< x location at which to evaluate
     181    psF64 y                            ///< y location at which to evaluate
    182182);
    183183
     
    255255{
    256256    psPolynomialType type;             ///< Polynomial type
    257     psS32 n;                           ///< Number of terms
     257    unsigned int n;                           ///< Number of terms
    258258    psF64 *coeff;                      ///< Coefficients
    259259    psF64 *coeffErr;                   ///< Error in coefficients
     
    266266{
    267267    psPolynomialType type;             ///< Polynomial type
    268     psS32 nX;                          ///< Number of terms in x
    269     psS32 nY;                          ///< Number of terms in y
     268    unsigned int nX;                          ///< Number of terms in x
     269    unsigned int nY;                          ///< Number of terms in y
    270270    psF64 **coeff;                     ///< Coefficients
    271271    psF64 **coeffErr;                  ///< Error in coefficients
     
    278278{
    279279    psPolynomialType type;             ///< Polynomial type
    280     psS32 nX;                          ///< Number of terms in x
    281     psS32 nY;                          ///< Number of terms in y
    282     psS32 nZ;                          ///< Number of terms in z
     280    unsigned int nX;                          ///< Number of terms in x
     281    unsigned int nY;                          ///< Number of terms in y
     282    unsigned int nZ;                          ///< Number of terms in z
    283283    psF64 ***coeff;                    ///< Coefficients
    284284    psF64 ***coeffErr;                 ///< Error in coefficients
     
    291291{
    292292    psPolynomialType type;             ///< Polynomial type
    293     psS32 nW;                          ///< Number of terms in w
    294     psS32 nX;                          ///< Number of terms in x
    295     psS32 nY;                          ///< Number of terms in y
    296     psS32 nZ;                          ///< Number of terms in z
     293    unsigned int nX;                          ///< Number of terms in w
     294    unsigned int nY;                          ///< Number of terms in x
     295    unsigned int nZ;                          ///< Number of terms in y
     296    unsigned int nT;                          ///< Number of terms in z
    297297    psF64 ****coeff;                   ///< Coefficients
    298298    psF64 ****coeffErr;                ///< Error in coefficients
     
    306306 */
    307307psDPolynomial1D* psDPolynomial1DAlloc(
    308     psS32 n,                           ///< Number of terms
     308    int n,                           ///< Number of terms
    309309    psPolynomialType type              ///< Polynomial Type
    310310);
     
    315315 */
    316316psDPolynomial2D* psDPolynomial2DAlloc(
    317     psS32 nX,                          ///< Number of terms in x
    318     psS32 nY,                          ///< Number of terms in y
     317    int nX,                          ///< Number of terms in x
     318    int nY,                          ///< Number of terms in y
    319319    psPolynomialType type              ///< Polynomial Type
    320320);
     
    325325 */
    326326psDPolynomial3D* psDPolynomial3DAlloc(
    327     psS32 nX,                          ///< Number of terms in x
    328     psS32 nY,                          ///< Number of terms in y
    329     psS32 nZ,                          ///< Number of terms in z
     327    int nX,                          ///< Number of terms in x
     328    int nY,                          ///< Number of terms in y
     329    int nZ,                          ///< Number of terms in z
    330330    psPolynomialType type              ///< Polynomial Type
    331331);
     
    336336 */
    337337psDPolynomial4D* psDPolynomial4DAlloc(
    338     psS32 nW,                          ///< Number of terms in w
    339     psS32 nX,                          ///< Number of terms in x
    340     psS32 nY,                          ///< Number of terms in y
    341     psS32 nZ,                          ///< Number of terms in z
     338    int nX,                          ///< Number of terms in w
     339    int nY,                          ///< Number of terms in x
     340    int nZ,                          ///< Number of terms in y
     341    int nT,                          ///< Number of terms in z
    342342    psPolynomialType type              ///< Polynomial Type
    343343);
     
    348348 */
    349349psF64 psDPolynomial1DEval(
    350     const psDPolynomial1D* myPoly,     ///< Coefficients for the polynomial
     350    const psDPolynomial1D* poly,     ///< Coefficients for the polynomial
    351351    psF64 x                            ///< Value at which to evaluate
    352352);
     
    357357 */
    358358psF64 psDPolynomial2DEval(
    359     const psDPolynomial2D* myPoly,      ///< Coefficients for the polynomial
     359    const psDPolynomial2D* poly,      ///< Coefficients for the polynomial
    360360    psF64 x,                            ///< Value x at which to evaluate
    361361    psF64 y                             ///< Value y at which to evaluate
     
    367367 */
    368368psF64 psDPolynomial3DEval(
    369     const psDPolynomial3D* myPoly,     ///< Coefficients for the polynomial
     369    const psDPolynomial3D* poly,     ///< Coefficients for the polynomial
    370370    psF64 x,                           ///< Value x at which to evaluate
    371371    psF64 y,                           ///< Value y at which to evaluate
     
    378378 */
    379379psF64 psDPolynomial4DEval(
    380     const psDPolynomial4D* myPoly,     ///< Coefficients for the polynomial
    381     psF64 w,                           ///< Value w at which to evaluate
    382     psF64 x,                           ///< Value x at which to evaluate
    383     psF64 y,                           ///< Value y at which to evaluate
    384     psF64 z                            ///< Value z at which to evaluate
     380    const psDPolynomial4D* poly,     ///< Coefficients for the polynomial
     381    psF64 x,                           ///< Value w at which to evaluate
     382    psF64 y,                           ///< Value x at which to evaluate
     383    psF64 z,                           ///< Value y at which to evaluate
     384    psF64 t                            ///< Value z at which to evaluate
    385385);
    386386
     
    390390 */
    391391psVector *psDPolynomial1DEvalVector(
    392     const psDPolynomial1D *myPoly,     ///< Coefficients for the polynomial
     392    const psDPolynomial1D *poly,     ///< Coefficients for the polynomial
    393393    const psVector *x                  ///< x locations at which to evaluate
    394394);
     
    399399 */
    400400psVector *psDPolynomial2DEvalVector(
    401     const psDPolynomial2D *myPoly,     ///< Coefficients for the polynomial
     401    const psDPolynomial2D *poly,     ///< Coefficients for the polynomial
    402402    const psVector *x,                 ///< x locations at which to evaluate
    403403    const psVector *y                  ///< y locations at which to evaluate
     
    409409 */
    410410psVector *psDPolynomial3DEvalVector(
    411     const psDPolynomial3D *myPoly,     ///< Coefficients for the polynomial
     411    const psDPolynomial3D *poly,     ///< Coefficients for the polynomial
    412412    const psVector *x,                 ///< x locations at which to evaluate
    413413    const psVector *y,                 ///< y locations at which to evaluate
     
    420420 */
    421421psVector *psDPolynomial4DEvalVector(
    422     const psDPolynomial4D *myPoly,     ///< Coefficients for the polynomial
    423     const psVector *w,                 ///< w locations at which to evaluate
    424     const psVector *x,                 ///< x locations at which to evaluate
    425     const psVector *y,                 ///< y locations at which to evaluate
    426     const psVector *z                  ///< z locations at which to evaluate
     422    const psDPolynomial4D *poly,     ///< Coefficients for the polynomial
     423    const psVector *x,                 ///< w locations at which to evaluate
     424    const psVector *y,                 ///< x locations at which to evaluate
     425    const psVector *z,                 ///< y locations at which to evaluate
     426    const psVector *t                  ///< z locations at which to evaluate
    427427);
    428428
Note: See TracChangeset for help on using the changeset viewer.