IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 27, 2004, 1:41:42 PM (22 years ago)
Author:
gusciora
Message:

...

Location:
trunk/psLib/test/dataManip
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/test/dataManip/Makefile

    r1900 r1907  
    33##  Makefile:   test/sysUtils
    44##
    5 ##  $Revision: 1.45 $  $Name: not supported by cvs2svn $
    6 ##  $Date: 2004-09-25 20:17:43 $
     5##  $Revision: 1.46 $  $Name: not supported by cvs2svn $
     6##  $Date: 2004-09-27 23:41:42 $
    77##
    88##  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    4242tst_psMatrixVectorArithmetic03 \
    4343tst_psMinimize04 \
     44tst_psMinimize04b \
    4445tst_psMinimize05 \
    4546tst_psMinimize06 \
  • trunk/psLib/test/dataManip/tst_psMinimize04.c

    r1811 r1907  
    1212#include <math.h>
    1313#define NUM_DATA 10
    14 #define POLY_ORDER 2
     14#define POLY_ORDER 5
    1515
    1616double setData(double A,
     
    4040    for (i=0;i<NUM_DATA;i++) {
    4141        x->data.F64[i] = (double) i;
    42         y->data.F64[i] = setData(2.0, 3.0, 2.0, x->data.F64[i]);
     42        y->data.F64[i] = setData(3.0, 2.0, 3.0, x->data.F64[i]);
    4343        yErr->data.F64[i] = 0.1;
    4444        printf("Original data %d: (%.1f %.1f)\n", i, x->data.F64[i], y->data.F64[i]);
Note: See TracChangeset for help on using the changeset viewer.