IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 15, 2010, 3:51:40 PM (16 years ago)
Author:
eugene
Message:

add fit3d and applyfit3d

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20100621/Ohana/src/opihi/cmd.data/fit2d.c

    r27817 r28918  
    168168    }
    169169
     170    /** test print **/
     171    if (VERBOSE) {
     172      for (i = 0; i < wterm; i++) {
     173        for (j = 0; j < wterm; j++) {
     174          gprint (GP_ERR, "%g  ", c[i][j]);
     175        }
     176        gprint (GP_ERR, "\n");
     177      }
     178      gprint (GP_ERR, "-----\n");
     179    }
     180
    170181    dgaussjordan (c, b, wterm, 1);
    171182
     
    176187          gprint (GP_ERR, "x^%d y^%d: %g\n", nx, ny, b[i][0]);
    177188        }
     189      }
     190    }
     191
     192    /** test print **/
     193    if (VERBOSE) {
     194      for (i = 0; i < wterm; i++) {
     195        for (j = 0; j < wterm; j++) {
     196          gprint (GP_ERR, "%g  ", c[i][j]);
     197        }
     198        gprint (GP_ERR, "\n");
    178199      }
    179200    }
Note: See TracChangeset for help on using the changeset viewer.