IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 1722


Ignore:
Timestamp:
Sep 7, 2004, 8:11:14 PM (22 years ago)
Author:
gusciora
Message:

...

Location:
trunk/psLib
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/dataManip/psStats.c

    r1440 r1722  
    1 
    21/** @file  psStats.c
    32 *  \brief basic statistical operations
     
    109 *  @author George Gusciora, MHPCC
    1110 *
    12  *  @version $Revision: 1.53 $ $Name: not supported by cvs2svn $
    13  *  @date $Date: 2004-08-09 23:34:57 $
     11 *  @version $Revision: 1.54 $ $Name: not supported by cvs2svn $
     12 *  @date $Date: 2004-09-08 06:04:30 $
    1413 *
    1514 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    10411040    psVector* y = psVectorAlloc(3, PS_TYPE_F64);
    10421041    psVector* yErr = psVectorAlloc(3, PS_TYPE_F64);
    1043     psPolynomial1D* myPoly = psPolynomial1DAlloc(2);
     1042    psPolynomial1D* myPoly = psPolynomial1DAlloc(2, PS_POLYNOMIAL_ORD);
    10441043
    10451044    if ((binNum > 0) && (binNum < (histogram->nums->n + 1))) {
     
    11321131    psVector* y = psVectorAlloc(3, PS_TYPE_F64);
    11331132    psVector* yErr = psVectorAlloc(3, PS_TYPE_F64);
    1134     psPolynomial1D* myPoly = psPolynomial1DAlloc(2);
     1133    psPolynomial1D* myPoly = psPolynomial1DAlloc(2, PS_POLYNOMIAL_ORD);
    11351134    psVector* cumulativeRobustSumsFullRange = NULL;
    11361135    psVector* cumulativeRobustSumsDlRange = NULL;
  • trunk/psLib/src/math/psPolynomial.h

    r1464 r1722  
    1 
    21/** @file psFunctions.h
    32*  \brief Standard Mathematical Functions.
     
    1312*  @author George Gusciora, MHPCC
    1413*
    15 *  @version $Revision: 1.19 $ $Name: not supported by cvs2svn $
    16 *  @date $Date: 2004-08-11 02:35:58 $
     14*  @version $Revision: 1.20 $ $Name: not supported by cvs2svn $
     15*  @date $Date: 2004-09-08 06:04:10 $
    1716*
    1817*  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    5756);
    5857
     58typedef enum {
     59    PS_POLYNOMIAL_ORD,                 ///< Ordinary Polynomial
     60    PS_POLYNOMIAL_CHEB                 ///< Chebyshev Polynomial
     61} psPolynomialType;
     62
    5963/** One-dimensional polynomial */
    6064typedef struct
    6165{
     66    psPolynomialType type;             ///< Polynomial type
    6267    int n;                             ///< Number of terms
    6368    float *coeff;                      ///< Coefficients
     
    7075typedef struct
    7176{
     77    psPolynomialType type;             ///< Polynomial type
    7278    int nX;                            ///< Number of terms in x
    7379    int nY;                            ///< Number of terms in y
     
    8187typedef struct
    8288{
     89    psPolynomialType type;             ///< Polynomial type
    8390    int nX;                            ///< Number of terms in x
    8491    int nY;                            ///< Number of terms in y
     
    93100typedef struct
    94101{
     102    psPolynomialType type;             ///< Polynomial type
    95103    int nW;                            ///< Number of terms in w
    96104    int nX;                            ///< Number of terms in x
     
    109117 */
    110118psPolynomial1D* psPolynomial1DAlloc(
    111     int n                              ///< Number of terms
     119    int n,                              ///< Number of terms
     120    psPolynomialType type               ///< Polynomial Type
    112121);
    113122
     
    118127psPolynomial2D* psPolynomial2DAlloc(
    119128    int nX,                            ///< Number of terms in x
    120     int nY                             ///< Number of terms in y
     129    int nY,                            ///< Number of terms in y
     130    psPolynomialType type              ///< Polynomial Type
    121131);
    122132
     
    128138    int nX,                            ///< Number of terms in x
    129139    int nY,                            ///< Number of terms in y
    130     int nZ                             ///< Number of terms in z
     140    int nZ,                            ///< Number of terms in z
     141    psPolynomialType type              ///< Polynomial Type
    131142);
    132143
     
    139150    int nX,                            ///< Number of terms in x
    140151    int nY,                            ///< Number of terms in y
    141     int nZ                             ///< Number of terms in z
     152    int nZ,                            ///< Number of terms in z
     153    psPolynomialType type              ///< Polynomial Type
    142154);
    143155
     
    184196);
    185197
     198psVector *psPolynomial1DEvalVector(const psVector *x,             ///< x locations at which to evaluate
     199                                   const psPolynomial1D *myPoly   ///< Coefficients for the polynomial
     200                                  );
     201
     202psVector *psPolynomial2DEvalVector(const psVector *x,             ///< x locations at which to evaluate
     203                                   const psVector *y,             ///< y locations at which to evaluate
     204                                   const psPolynomial2D *myPoly   ///< Coefficients for the polynomial
     205                                  );
     206
     207psVector *psPolynomial3DEvalVector(const psVector *x,             ///< x locations at which to evaluate
     208                                   const psVector *y,             ///< y locations at which to evaluate
     209                                   const psVector *z,             ///< z locations at which to evaluate
     210                                   const psPolynomial3D *myPoly   ///< Coefficients for the polynomial
     211                                  );
     212
     213psVector *psPolynomial4DEvalVector(const psVector *w,             ///< w locations at which to evaluate
     214                                   const psVector *x,             ///< x locations at which to evaluate
     215                                   const psVector *y,             ///< y locations at which to evaluate
     216                                   const psVector *z,             ///< z locations at which to evaluate
     217                                   const psPolynomial4D *myPoly   ///< Coefficients for the polynomial
     218                                  );
     219
    186220/*****************************************************************************/
    187221
     
    191225typedef struct
    192226{
     227    psPolynomialType type;             ///< Polynomial type
    193228    int n;                             ///< Number of terms
    194229    double *coeff;                     ///< Coefficients
     
    201236typedef struct
    202237{
     238    psPolynomialType type;             ///< Polynomial type
    203239    int nX;                            ///< Number of terms in x
    204240    int nY;                            ///< Number of terms in y
     
    212248typedef struct
    213249{
     250    psPolynomialType type;             ///< Polynomial type
    214251    int nX;                            ///< Number of terms in x
    215252    int nY;                            ///< Number of terms in y
     
    224261typedef struct
    225262{
     263    psPolynomialType type;             ///< Polynomial type
    226264    int nW;                            ///< Number of terms in w
    227265    int nX;                            ///< Number of terms in x
     
    239277 */
    240278psDPolynomial1D* psDPolynomial1DAlloc(
    241     int n                              ///< Number of terms
     279    int n,                             ///< Number of terms
     280    psPolynomialType type              ///< Polynomial Type
    242281);
    243282
     
    248287psDPolynomial2D* psDPolynomial2DAlloc(
    249288    int nX,                            ///< Number of terms in x
    250     int nY                             ///< Number of terms in y
     289    int nY,                            ///< Number of terms in y
     290    psPolynomialType type              ///< Polynomial Type
    251291);
    252292
     
    258298    int nX,                            ///< Number of terms in x
    259299    int nY,                            ///< Number of terms in y
    260     int nZ                             ///< Number of terms in z
     300    int nZ,                            ///< Number of terms in z
     301    psPolynomialType type              ///< Polynomial Type
    261302);
    262303
     
    269310    int nX,                            ///< Number of terms in x
    270311    int nY,                            ///< Number of terms in y
    271     int nZ                             ///< Number of terms in z
     312    int nZ,                            ///< Number of terms in z
     313    psPolynomialType type              ///< Polynomial Type
    272314);
    273315
     
    314356);
    315357
     358psVector *psDPolynomial1DEvalVector(const psVector *x,             ///< x locations at which to evaluate
     359                                    const psDPolynomial1D *myPoly  ///< Coefficients for the polynomial
     360                                   );
     361
     362psVector *psDPolynomial2DEvalVector(const psVector *x,             ///< x locations at which to evaluate
     363                                    const psVector *y,             ///< y locations at which to evaluate
     364                                    const psDPolynomial2D *myPoly  ///< Coefficients for the polynomial
     365                                   );
     366
     367psVector *psDPolynomial3DEvalVector(const psVector *x,             ///< x locations at which to evaluate
     368                                    const psVector *y,             ///< y locations at which to evaluate
     369                                    const psVector *z,             ///< z locations at which to evaluate
     370                                    const psDPolynomial3D *myPoly  ///< Coefficients for the polynomial
     371                                   );
     372
     373psVector *psDPolynomial4DEvalVector(const psVector *w,             ///< w locations at which to evaluate
     374                                    const psVector *x,             ///< x locations at which to evaluate
     375                                    const psVector *y,             ///< y locations at which to evaluate
     376                                    const psVector *z,             ///< z locations at which to evaluate
     377                                    const psDPolynomial4D *myPoly  ///< Coefficients for the polynomial
     378                                   );
     379
     380
     381
     382typedef struct
     383{
     384    int n;
     385    psPolynomial1D **spline;
     386    float *domains;
     387}
     388psSpline1D;
     389
     390psSpline1D *psSpline1DAlloc(int n,
     391                            int order,
     392                            float min,
     393                            float max);
     394
     395psSpline1D *psSpline1DAllocGeneric(const psVector *bounds,
     396                                   int order);
     397
     398float psSpline1DEval(const psSpline1D *spline,
     399                     float x);
     400
     401psVector *psSpline1DEvalVector(const psVector *x,
     402                               const psSpline1D *spline);
     403
    316404/* \} */// End of MathGroup Functions
    317405
  • trunk/psLib/src/math/psSpline.h

    r1464 r1722  
    1 
    21/** @file psFunctions.h
    32*  \brief Standard Mathematical Functions.
     
    1312*  @author George Gusciora, MHPCC
    1413*
    15 *  @version $Revision: 1.19 $ $Name: not supported by cvs2svn $
    16 *  @date $Date: 2004-08-11 02:35:58 $
     14*  @version $Revision: 1.20 $ $Name: not supported by cvs2svn $
     15*  @date $Date: 2004-09-08 06:04:10 $
    1716*
    1817*  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    5756);
    5857
     58typedef enum {
     59    PS_POLYNOMIAL_ORD,                 ///< Ordinary Polynomial
     60    PS_POLYNOMIAL_CHEB                 ///< Chebyshev Polynomial
     61} psPolynomialType;
     62
    5963/** One-dimensional polynomial */
    6064typedef struct
    6165{
     66    psPolynomialType type;             ///< Polynomial type
    6267    int n;                             ///< Number of terms
    6368    float *coeff;                      ///< Coefficients
     
    7075typedef struct
    7176{
     77    psPolynomialType type;             ///< Polynomial type
    7278    int nX;                            ///< Number of terms in x
    7379    int nY;                            ///< Number of terms in y
     
    8187typedef struct
    8288{
     89    psPolynomialType type;             ///< Polynomial type
    8390    int nX;                            ///< Number of terms in x
    8491    int nY;                            ///< Number of terms in y
     
    93100typedef struct
    94101{
     102    psPolynomialType type;             ///< Polynomial type
    95103    int nW;                            ///< Number of terms in w
    96104    int nX;                            ///< Number of terms in x
     
    109117 */
    110118psPolynomial1D* psPolynomial1DAlloc(
    111     int n                              ///< Number of terms
     119    int n,                              ///< Number of terms
     120    psPolynomialType type               ///< Polynomial Type
    112121);
    113122
     
    118127psPolynomial2D* psPolynomial2DAlloc(
    119128    int nX,                            ///< Number of terms in x
    120     int nY                             ///< Number of terms in y
     129    int nY,                            ///< Number of terms in y
     130    psPolynomialType type              ///< Polynomial Type
    121131);
    122132
     
    128138    int nX,                            ///< Number of terms in x
    129139    int nY,                            ///< Number of terms in y
    130     int nZ                             ///< Number of terms in z
     140    int nZ,                            ///< Number of terms in z
     141    psPolynomialType type              ///< Polynomial Type
    131142);
    132143
     
    139150    int nX,                            ///< Number of terms in x
    140151    int nY,                            ///< Number of terms in y
    141     int nZ                             ///< Number of terms in z
     152    int nZ,                            ///< Number of terms in z
     153    psPolynomialType type              ///< Polynomial Type
    142154);
    143155
     
    184196);
    185197
     198psVector *psPolynomial1DEvalVector(const psVector *x,             ///< x locations at which to evaluate
     199                                   const psPolynomial1D *myPoly   ///< Coefficients for the polynomial
     200                                  );
     201
     202psVector *psPolynomial2DEvalVector(const psVector *x,             ///< x locations at which to evaluate
     203                                   const psVector *y,             ///< y locations at which to evaluate
     204                                   const psPolynomial2D *myPoly   ///< Coefficients for the polynomial
     205                                  );
     206
     207psVector *psPolynomial3DEvalVector(const psVector *x,             ///< x locations at which to evaluate
     208                                   const psVector *y,             ///< y locations at which to evaluate
     209                                   const psVector *z,             ///< z locations at which to evaluate
     210                                   const psPolynomial3D *myPoly   ///< Coefficients for the polynomial
     211                                  );
     212
     213psVector *psPolynomial4DEvalVector(const psVector *w,             ///< w locations at which to evaluate
     214                                   const psVector *x,             ///< x locations at which to evaluate
     215                                   const psVector *y,             ///< y locations at which to evaluate
     216                                   const psVector *z,             ///< z locations at which to evaluate
     217                                   const psPolynomial4D *myPoly   ///< Coefficients for the polynomial
     218                                  );
     219
    186220/*****************************************************************************/
    187221
     
    191225typedef struct
    192226{
     227    psPolynomialType type;             ///< Polynomial type
    193228    int n;                             ///< Number of terms
    194229    double *coeff;                     ///< Coefficients
     
    201236typedef struct
    202237{
     238    psPolynomialType type;             ///< Polynomial type
    203239    int nX;                            ///< Number of terms in x
    204240    int nY;                            ///< Number of terms in y
     
    212248typedef struct
    213249{
     250    psPolynomialType type;             ///< Polynomial type
    214251    int nX;                            ///< Number of terms in x
    215252    int nY;                            ///< Number of terms in y
     
    224261typedef struct
    225262{
     263    psPolynomialType type;             ///< Polynomial type
    226264    int nW;                            ///< Number of terms in w
    227265    int nX;                            ///< Number of terms in x
     
    239277 */
    240278psDPolynomial1D* psDPolynomial1DAlloc(
    241     int n                              ///< Number of terms
     279    int n,                             ///< Number of terms
     280    psPolynomialType type              ///< Polynomial Type
    242281);
    243282
     
    248287psDPolynomial2D* psDPolynomial2DAlloc(
    249288    int nX,                            ///< Number of terms in x
    250     int nY                             ///< Number of terms in y
     289    int nY,                            ///< Number of terms in y
     290    psPolynomialType type              ///< Polynomial Type
    251291);
    252292
     
    258298    int nX,                            ///< Number of terms in x
    259299    int nY,                            ///< Number of terms in y
    260     int nZ                             ///< Number of terms in z
     300    int nZ,                            ///< Number of terms in z
     301    psPolynomialType type              ///< Polynomial Type
    261302);
    262303
     
    269310    int nX,                            ///< Number of terms in x
    270311    int nY,                            ///< Number of terms in y
    271     int nZ                             ///< Number of terms in z
     312    int nZ,                            ///< Number of terms in z
     313    psPolynomialType type              ///< Polynomial Type
    272314);
    273315
     
    314356);
    315357
     358psVector *psDPolynomial1DEvalVector(const psVector *x,             ///< x locations at which to evaluate
     359                                    const psDPolynomial1D *myPoly  ///< Coefficients for the polynomial
     360                                   );
     361
     362psVector *psDPolynomial2DEvalVector(const psVector *x,             ///< x locations at which to evaluate
     363                                    const psVector *y,             ///< y locations at which to evaluate
     364                                    const psDPolynomial2D *myPoly  ///< Coefficients for the polynomial
     365                                   );
     366
     367psVector *psDPolynomial3DEvalVector(const psVector *x,             ///< x locations at which to evaluate
     368                                    const psVector *y,             ///< y locations at which to evaluate
     369                                    const psVector *z,             ///< z locations at which to evaluate
     370                                    const psDPolynomial3D *myPoly  ///< Coefficients for the polynomial
     371                                   );
     372
     373psVector *psDPolynomial4DEvalVector(const psVector *w,             ///< w locations at which to evaluate
     374                                    const psVector *x,             ///< x locations at which to evaluate
     375                                    const psVector *y,             ///< y locations at which to evaluate
     376                                    const psVector *z,             ///< z locations at which to evaluate
     377                                    const psDPolynomial4D *myPoly  ///< Coefficients for the polynomial
     378                                   );
     379
     380
     381
     382typedef struct
     383{
     384    int n;
     385    psPolynomial1D **spline;
     386    float *domains;
     387}
     388psSpline1D;
     389
     390psSpline1D *psSpline1DAlloc(int n,
     391                            int order,
     392                            float min,
     393                            float max);
     394
     395psSpline1D *psSpline1DAllocGeneric(const psVector *bounds,
     396                                   int order);
     397
     398float psSpline1DEval(const psSpline1D *spline,
     399                     float x);
     400
     401psVector *psSpline1DEvalVector(const psVector *x,
     402                               const psSpline1D *spline);
     403
    316404/* \} */// End of MathGroup Functions
    317405
  • trunk/psLib/src/math/psStats.c

    r1440 r1722  
    1 
    21/** @file  psStats.c
    32 *  \brief basic statistical operations
     
    109 *  @author George Gusciora, MHPCC
    1110 *
    12  *  @version $Revision: 1.53 $ $Name: not supported by cvs2svn $
    13  *  @date $Date: 2004-08-09 23:34:57 $
     11 *  @version $Revision: 1.54 $ $Name: not supported by cvs2svn $
     12 *  @date $Date: 2004-09-08 06:04:30 $
    1413 *
    1514 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    10411040    psVector* y = psVectorAlloc(3, PS_TYPE_F64);
    10421041    psVector* yErr = psVectorAlloc(3, PS_TYPE_F64);
    1043     psPolynomial1D* myPoly = psPolynomial1DAlloc(2);
     1042    psPolynomial1D* myPoly = psPolynomial1DAlloc(2, PS_POLYNOMIAL_ORD);
    10441043
    10451044    if ((binNum > 0) && (binNum < (histogram->nums->n + 1))) {
     
    11321131    psVector* y = psVectorAlloc(3, PS_TYPE_F64);
    11331132    psVector* yErr = psVectorAlloc(3, PS_TYPE_F64);
    1134     psPolynomial1D* myPoly = psPolynomial1DAlloc(2);
     1133    psPolynomial1D* myPoly = psPolynomial1DAlloc(2, PS_POLYNOMIAL_ORD);
    11351134    psVector* cumulativeRobustSumsFullRange = NULL;
    11361135    psVector* cumulativeRobustSumsDlRange = NULL;
  • trunk/psLib/src/sys/psTrace.h

    r1720 r1722  
    99 *  @author George Gusciora, MHPCC
    1010 *
    11  *  @version $Revision: 1.19 $ $Name: not supported by cvs2svn $
    12  *  @date $Date: 2004-09-08 06:03:43 $
     11 *  @version $Revision: 1.20 $ $Name: not supported by cvs2svn $
     12 *  @date $Date: 2004-09-08 06:07:57 $
    1313 *
    1414 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    6565
    6666/// Set trace level
    67 bool psTraceSetLevel(const char *facil,     ///< facilty of interest
    68                      int level)     ///< desired trace level
     67int psTraceSetLevel(const char *facil,     ///< facilty of interest
     68                    int level)     ///< desired trace level
    6969;
    7070
  • trunk/psLib/src/sysUtils/psTrace.h

    r1721 r1722  
    99 *  @author George Gusciora, MHPCC
    1010 *
    11  *  @version $Revision: 1.19 $ $Name: not supported by cvs2svn $
    12  *  @date $Date: 2004-09-08 06:03:43 $
     11 *  @version $Revision: 1.20 $ $Name: not supported by cvs2svn $
     12 *  @date $Date: 2004-09-08 06:07:57 $
    1313 *
    1414 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    6565
    6666/// Set trace level
    67 bool psTraceSetLevel(const char *facil,     ///< facilty of interest
    68                      int level)     ///< desired trace level
     67int psTraceSetLevel(const char *facil,     ///< facilty of interest
     68                    int level)     ///< desired trace level
    6969;
    7070
  • trunk/psLib/test/dataManip/tst_psFunc00.c

    r1406 r1722  
    4242                            "Allocate/Deallocate the psPolynomial1D structure.");
    4343
    44     my1DPoly = psPolynomial1DAlloc(AN);
     44    my1DPoly = psPolynomial1DAlloc(AN, PS_POLYNOMIAL_ORD);
    4545    for (a = 0; a < AN ; a++) {
    4646        my1DPoly->coeff[a] = MISC_FLOAT_NUMBER;
     
    7070                            "psFunctions functions",
    7171                            "Allocate/Deallocate the psPolynomial2D structure.");
    72     my2DPoly = psPolynomial2DAlloc(AN, BN);
     72    my2DPoly = psPolynomial2DAlloc(AN, BN, PS_POLYNOMIAL_ORD);
    7373    for (a = 0; a < AN ; a++) {
    7474        for (b = 0; b < BN ; b++) {
     
    9898                            "psFunctions functions",
    9999                            "Allocate/Deallocate the psPolynomial3D structure.");
    100     my3DPoly = psPolynomial3DAlloc(AN, BN, CN);
     100    my3DPoly = psPolynomial3DAlloc(AN, BN, CN, PS_POLYNOMIAL_ORD);
    101101    for (a = 0; a < AN ; a++) {
    102102        for (b = 0; b < BN ; b++) {
     
    130130                            "psFunctions functions",
    131131                            "Allocate/Deallocate the psPolynomial4D structure.");
    132     my4DPoly = psPolynomial4DAlloc(AN, BN, CN, DN);
     132    my4DPoly = psPolynomial4DAlloc(AN, BN, CN, DN, PS_POLYNOMIAL_ORD);
    133133    for (a = 0; a < AN ; a++) {
    134134        for (b = 0; b < BN ; b++) {
     
    167167                            "Allocate/Deallocate the psDPolynomial1D structure.");
    168168
    169     my1DPolyD = psDPolynomial1DAlloc(AN);
     169    my1DPolyD = psDPolynomial1DAlloc(AN, PS_POLYNOMIAL_ORD);
    170170    for (a = 0; a < AN ; a++) {
    171171        my1DPolyD->coeff[a] = MISC_FLOAT_NUMBER;
     
    191191                            "psFunctions functions",
    192192                            "Allocate/Deallocate the psDPolynomial2D structure.");
    193     my2DPolyD = psDPolynomial2DAlloc(AN, BN);
     193    my2DPolyD = psDPolynomial2DAlloc(AN, BN, PS_POLYNOMIAL_ORD);
    194194    for (a = 0; a < AN ; a++) {
    195195        for (b = 0; b < BN ; b++) {
     
    219219                            "psFunctions functions",
    220220                            "Allocate/Deallocate the psDPolynomial3D structure.");
    221     my3DPolyD = psDPolynomial3DAlloc(AN, BN, CN);
     221    my3DPolyD = psDPolynomial3DAlloc(AN, BN, CN, PS_POLYNOMIAL_ORD);
    222222    for (a = 0; a < AN ; a++) {
    223223        for (b = 0; b < BN ; b++) {
     
    251251                            "psFunctions functions",
    252252                            "Allocate/Deallocate the psDPolynomial4D structure.");
    253     my4DPolyD = psDPolynomial4DAlloc(AN, BN, CN, DN);
     253    my4DPolyD = psDPolynomial4DAlloc(AN, BN, CN, DN, PS_POLYNOMIAL_ORD);
    254254    for (a = 0; a < AN ; a++) {
    255255        for (b = 0; b < BN ; b++) {
  • trunk/psLib/test/dataManip/tst_psMinimize04.c

    r1406 r1722  
    3333    int memLeaks = 0;
    3434
    35     myPoly = psPolynomial1DAlloc(POLY_ORDER+1);
     35    myPoly = psPolynomial1DAlloc(POLY_ORDER+1, PS_POLYNOMIAL_ORD);
    3636    x = psVectorAlloc(NUM_DATA, PS_TYPE_F64);
    3737    y = psVectorAlloc(NUM_DATA, PS_TYPE_F64);
Note: See TracChangeset for help on using the changeset viewer.