IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 8, 2005, 4:11:01 PM (21 years ago)
Author:
drobbin
Message:

updated fxns to match psLib SDRS rev. 15

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/dataManip/psFunctions.h

    r4447 r4528  
    1212 *  @author GLG, MHPCC
    1313 *
    14  *  @version $Revision: 1.52 $ $Name: not supported by cvs2svn $
    15  *  @date $Date: 2005-07-01 22:01:17 $
     14 *  @version $Revision: 1.53 $ $Name: not supported by cvs2svn $
     15 *  @date $Date: 2005-07-09 02:11:01 $
    1616 *
    1717 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    7575    psPolynomialType type;             ///< Polynomial type
    7676    psElemType ctype;                  ///< Polynomial precision
    77     unsigned int n;                    ///< Number of terms
     77    int n;                             ///< Number of terms
    7878    psF32 *coeff;                      ///< Coefficients
    7979    psF32 *coeffErr;                   ///< Error in coefficients
     
    8787    psPolynomialType type;             ///< Polynomial type
    8888    psElemType ctype;                  ///< Polynomial precision
    89     unsigned int nX;                   ///< Number of terms in x
    90     unsigned int nY;                   ///< Number of terms in y
     89    int nX;                            ///< Number of terms in x
     90    int nY;                            ///< Number of terms in y
    9191    psF32 **coeff;                     ///< Coefficients
    9292    psF32 **coeffErr;                  ///< Error in coefficients
     
    100100    psPolynomialType type;             ///< Polynomial type
    101101    psElemType ctype;                  ///< Polynomial precision
    102     unsigned int nX;                   ///< Number of terms in x
    103     unsigned int nY;                   ///< Number of terms in y
    104     unsigned int nZ;                   ///< Number of terms in z
     102    int nX;                           ///< Number of terms in x
     103    int nY;                            ///< Number of terms in y
     104    int nZ;                           ///< Number of terms in z
    105105    psF32 ***coeff;                    ///< Coefficients
    106106    psF32 ***coeffErr;                 ///< Error in coefficients
     
    114114    psPolynomialType type;             ///< Polynomial type
    115115    psElemType ctype;                  ///< Polynomial precision
    116     unsigned int nX;                   ///< Number of terms in x
    117     unsigned int nY;                   ///< Number of terms in y
    118     unsigned int nZ;                   ///< Number of terms in z
    119     unsigned int nT;                   ///< Number of terms in t
     116    int nX;                            ///< Number of terms in x
     117    int nY;                            ///< Number of terms in y
     118    int nZ;                            ///< Number of terms in z
     119    int nT;                            ///< Number of terms in t
    120120    psF32 ****coeff;                   ///< Coefficients
    121121    psF32 ****coeffErr;                ///< Error in coefficients
     
    130130 */
    131131psPolynomial1D* psPolynomial1DAlloc(
    132     unsigned int n,                   ///< Number of terms
     132    int n,                             ///< Number of terms
    133133    psPolynomialType type              ///< Polynomial Type
    134134);
     
    139139 */
    140140psPolynomial2D* psPolynomial2DAlloc(
    141     unsigned int nX,                   ///< Number of terms in x
    142     unsigned int nY,                   ///< Number of terms in y
     141    int nX,                   ///< Number of terms in x
     142    int nY,                   ///< Number of terms in y
    143143    psPolynomialType type              ///< Polynomial Type
    144144);
     
    149149 */
    150150psPolynomial3D* psPolynomial3DAlloc(
    151     unsigned int nX,                   ///< Number of terms in x
    152     unsigned int nY,                   ///< Number of terms in y
    153     unsigned int nZ,                   ///< Number of terms in z
     151    int nX,                            ///< Number of terms in x
     152    int nY,                            ///< Number of terms in y
     153    int nZ,                            ///< Number of terms in z
    154154    psPolynomialType type              ///< Polynomial Type
    155155);
     
    160160 */
    161161psPolynomial4D* psPolynomial4DAlloc(
    162     unsigned int nX,                   ///< Number of terms in x
    163     unsigned int nY,                   ///< Number of terms in y
    164     unsigned int nZ,                   ///< Number of terms in z
    165     unsigned int nT,                   ///< Number of terms in t
     162    int nX,                            ///< Number of terms in x
     163    int nY,                            ///< Number of terms in y
     164    int nZ,                            ///< Number of terms in z
     165    int nT,                            ///< Number of terms in t
    166166    psPolynomialType type              ///< Polynomial Type
    167167);
     
    259259{
    260260    psPolynomialType type;             ///< Polynomial type
    261     unsigned int n;                           ///< Number of terms
     261    int n;                             ///< Number of terms
    262262    psF64 *coeff;                      ///< Coefficients
    263263    psF64 *coeffErr;                   ///< Error in coefficients
     
    270270{
    271271    psPolynomialType type;             ///< Polynomial type
    272     unsigned int nX;                          ///< Number of terms in x
    273     unsigned int nY;                          ///< Number of terms in y
     272    int nX;                            ///< Number of terms in x
     273    int nY;                            ///< Number of terms in y
    274274    psF64 **coeff;                     ///< Coefficients
    275275    psF64 **coeffErr;                  ///< Error in coefficients
     
    282282{
    283283    psPolynomialType type;             ///< Polynomial type
    284     unsigned int nX;                          ///< Number of terms in x
    285     unsigned int nY;                          ///< Number of terms in y
    286     unsigned int nZ;                          ///< Number of terms in z
     284    int nX;                            ///< Number of terms in x
     285    int nY;                            ///< Number of terms in y
     286    int nZ;                            ///< Number of terms in z
    287287    psF64 ***coeff;                    ///< Coefficients
    288288    psF64 ***coeffErr;                 ///< Error in coefficients
     
    295295{
    296296    psPolynomialType type;             ///< Polynomial type
    297     unsigned int nX;                          ///< Number of terms in w
    298     unsigned int nY;                          ///< Number of terms in x
    299     unsigned int nZ;                          ///< Number of terms in y
    300     unsigned int nT;                          ///< Number of terms in z
     297    int nX;                            ///< Number of terms in w
     298    int nY;                            ///< Number of terms in x
     299    int nZ;                            ///< Number of terms in y
     300    int nT;                            ///< Number of terms in z
    301301    psF64 ****coeff;                   ///< Coefficients
    302302    psF64 ****coeffErr;                ///< Error in coefficients
     
    310310 */
    311311psDPolynomial1D* psDPolynomial1DAlloc(
    312     unsigned int n,                           ///< Number of terms
     312    int n,                             ///< Number of terms
    313313    psPolynomialType type              ///< Polynomial Type
    314314);
     
    319319 */
    320320psDPolynomial2D* psDPolynomial2DAlloc(
    321     unsigned int nX,                          ///< Number of terms in x
    322     unsigned int nY,                          ///< Number of terms in y
     321    int nX,                            ///< Number of terms in x
     322    int nY,                            ///< Number of terms in y
    323323    psPolynomialType type              ///< Polynomial Type
    324324);
     
    329329 */
    330330psDPolynomial3D* psDPolynomial3DAlloc(
    331     unsigned int nX,                          ///< Number of terms in x
    332     unsigned int nY,                          ///< Number of terms in y
    333     unsigned int nZ,                          ///< Number of terms in z
     331    int nX,                            ///< Number of terms in x
     332    int nY,                            ///< Number of terms in y
     333    int nZ,                            ///< Number of terms in z
    334334    psPolynomialType type              ///< Polynomial Type
    335335);
     
    340340 */
    341341psDPolynomial4D* psDPolynomial4DAlloc(
    342     unsigned int nX,                          ///< Number of terms in w
    343     unsigned int nY,                          ///< Number of terms in x
    344     unsigned int nZ,                          ///< Number of terms in y
    345     unsigned int nT,                          ///< Number of terms in z
     342    int nX,                            ///< Number of terms in w
     343    int nY,                            ///< Number of terms in x
     344    int nZ,                            ///< Number of terms in y
     345    int nT,                            ///< Number of terms in z
    346346    psPolynomialType type              ///< Polynomial Type
    347347);
     
    450450 */
    451451psSpline1D *psSpline1DAlloc(
    452     unsigned int n,                    ///< Number of spline polynomials
    453     unsigned int order,                ///< Order of spline polynomials
     452    int n,                             ///< Number of spline polynomials
     453    int order,                         ///< Order of spline polynomials
    454454    float min,                         ///< Lower boundary value of spline polynomials
    455455    float max                          ///< Upper boundary value of spline polynomials
     
    464464psSpline1D *psSpline1DAllocGeneric(
    465465    const psVector *bounds,            ///< Bounds for spline polynomials
    466     unsigned int order                 ///< Order of spline polynomials
     466    int order                          ///< Order of spline polynomials
    467467);
    468468
     
    503503    psVector *domain,                  ///< Domain (x coords) for interpolation
    504504    psVector *range,                   ///< Range (y coords) for interpolation
    505     unsigned int order,                ///< Order of interpolation function
     505    int order,                         ///< Order of interpolation function
    506506    psScalar *x                        ///< Location at which to evaluate
    507507);
Note: See TracChangeset for help on using the changeset viewer.