IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 4225 for trunk/psLib/src/math


Ignore:
Timestamp:
Jun 13, 2005, 10:18:18 AM (21 years ago)
Author:
gusciora
Message:

...

Location:
trunk/psLib/src/math
Files:
2 edited

Legend:

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

    r4128 r4225  
    99 *  @author GLG, MHPCC
    1010 *
    11  *  @version $Revision: 1.121 $ $Name: not supported by cvs2svn $
    12  *  @date $Date: 2005-06-07 02:29:44 $
     11 *  @version $Revision: 1.122 $ $Name: not supported by cvs2svn $
     12 *  @date $Date: 2005-06-13 20:18:18 $
    1313 *
    1414 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    688688    for (int j = 0; j < params->n; j++) {
    689689        for (int k = 0; k < params->n; k++) {
    690             alpha->data.F64[j][k] = 0;
    691         }
    692         beta->data.F64[j] = 0;
     690            alpha->data.F64[j][k] = 0.0;
     691        }
     692        beta->data.F64[j] = 0.0;
    693693    }
    694694    chisq = 0.0;
     
    780780}
    781781
    782 // XXX" put this in constants.h
     782// XXX: put this in constants.h
    783783# define PS_SWAP(X,Y) {double tmp=(X); (X) = (Y); (Y) = tmp;}
    784784
  • trunk/psLib/src/math/psStats.c

    r4162 r4225  
    1414 *      stats->binsize
    1515 *
    16  *  @version $Revision: 1.132 $ $Name: not supported by cvs2svn $
    17  *  @date $Date: 2005-06-08 23:40:45 $
     16 *  @version $Revision: 1.133 $ $Name: not supported by cvs2svn $
     17 *  @date $Date: 2005-06-13 20:18:18 $
    1818 *
    1919 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    7777psBool p_psGetStatValue(const psStats* stats, psF64 *value)
    7878{
    79 
    8079    switch (stats->options & ~(PS_STAT_USE_RANGE | PS_STAT_USE_BINSIZE | PS_STAT_ROBUST_FOR_SAMPLE)) {
    8180    case PS_STAT_SAMPLE_MEAN:
Note: See TracChangeset for help on using the changeset viewer.