IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 12, 2005, 10:31:24 AM (21 years ago)
Author:
gusciora
Message:

....

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/test/math/tst_psMinimize04b.c

    r4973 r4995  
    11/*****************************************************************************
    22    This routine must ensure that the psVectorFitPolynomial1D works correctly.
     3 
     4    We use Chebyshev polynomials here.
    35 *****************************************************************************/
    46#include <stdio.h>
     
    5254                            "psVectorFitPolynomial1D(): CHEB, equal errors in yErr");
    5355
    54     psVectorFitPolynomial1D(myPoly, x, y, yErr);
     56    psVectorFitPolynomial1D(myPoly, NULL, 0, y, yErr, x);
    5557
    5658    //  Remove for testing since print out differs from platforms
     
    121123                            "psVectorFitPolynomial1D(): CHEB, yErr is NULL");
    122124
    123     psVectorFitPolynomial1D(myPoly, x, y, NULL);
     125    psVectorFitPolynomial1D(myPoly, NULL, 0, y, NULL, x);
    124126
    125127    // We don't test the first or last few data items.
     
    184186                            "psVectorFitPolynomial1D(): CHEB, x, yErr is NULL");
    185187
    186     psVectorFitPolynomial1D(myPoly, NULL, y, NULL);
     188    psVectorFitPolynomial1D(myPoly, NULL, 0, y, NULL, NULL);
    187189    //    psVectorFitPolynomial1D(myPoly, x, y, NULL);
    188190
     
    232234
    233235    psLogMsg(__func__,PS_LOG_INFO,"Following should generate an error for null arguments.");
    234     myPoly = psVectorFitPolynomial1D(NULL, NULL, NULL, NULL);
     236    psVectorFitPolynomial1D(myPoly, NULL, 0, NULL, NULL, NULL);
    235237    if (myPoly != NULL) {
    236238        printf("ERROR: psVectorFitPolynomial1D() returned a non-NULL polynomial.\n");
Note: See TracChangeset for help on using the changeset viewer.