IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 8, 2006, 4:26:44 PM (20 years ago)
Author:
jhoblitt
Message:

normalize psTrace() facility names

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/math/psPolynomial.c

    r8232 r8245  
    77*  polynomials.  It also contains a Gaussian functions.
    88*
    9 *  @version $Revision: 1.148 $ $Name: not supported by cvs2svn $
    10 *  @date $Date: 2006-08-08 23:32:23 $
     9*  @version $Revision: 1.149 $ $Name: not supported by cvs2svn $
     10*  @date $Date: 2006-08-09 02:26:44 $
    1111*
    1212*  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    217217    psF64 xSum = 1.0;
    218218
    219     psTrace(__func__, 4, "---- %s() begin ----\n", __func__);
    220     psTrace(__func__, 4, "Polynomial order is %u\n", poly->nX);
     219    psTrace("psLib.math", 4, "---- %s() begin ----\n", __func__);
     220    psTrace("psLib.math", 4, "Polynomial order is %u\n", poly->nX);
    221221    for (loop_x = 0; loop_x < poly->nX+1; loop_x++) {
    222         psTrace(__func__, 4, "Polynomial coeff[%u] is %lf\n", loop_x, poly->coeff[loop_x]);
     222        psTrace("psLib.math", 4, "Polynomial coeff[%u] is %lf\n", loop_x, poly->coeff[loop_x]);
    223223    }
    224224
    225225    for (loop_x = 0; loop_x < poly->nX+1; loop_x++) {
    226226        if (poly->mask[loop_x] == 0) {
    227             psTrace(__func__, 8,
     227            psTrace("psLib.math", 8,
    228228                    "polysum+= sum*coeff [%lf+= (%lf * %lf)\n", polySum, xSum, poly->coeff[loop_x]);
    229229            polySum += xSum * poly->coeff[loop_x];
     
    232232    }
    233233
    234     psTrace(__func__, 4, "---- %s() end ----\n", __func__);
     234    psTrace("psLib.math", 4, "---- %s() end ----\n", __func__);
    235235    return(polySum);
    236236}
     
    571571    psF32 tmp = 1.0;
    572572
    573     psTrace(__func__, 4, "---- %s() begin ----\n", __func__);
     573    psTrace("psLib.math", 4, "---- %s() begin ----\n", __func__);
    574574
    575575    if (normal == true) {
     
    577577    }
    578578
    579     psTrace(__func__, 4, "---- %s() end ----\n", __func__);
     579    psTrace("psLib.math", 4, "---- %s() end ----\n", __func__);
    580580    return(tmp * exp(-((x - mean) * (x - mean)) / (2.0 * sigma * sigma)));
    581581}
Note: See TracChangeset for help on using the changeset viewer.