IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 6449 for trunk/psLib/src/math


Ignore:
Timestamp:
Feb 17, 2006, 2:56:44 PM (20 years ago)
Author:
drobbin
Message:

Finished updating files affected by changing psArrayAlloc to set ->n=0.

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

Legend:

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

    r6420 r6449  
    1111 *  NOTE: XXX: The SDR is silent about data types.  F32 is implemented here.
    1212 *
    13  *  @version $Revision: 1.5 $ $Name: not supported by cvs2svn $
    14  *  @date $Date: 2006-02-10 04:12:02 $
     13 *  @version $Revision: 1.6 $ $Name: not supported by cvs2svn $
     14 *  @date $Date: 2006-02-18 00:56:44 $
    1515 *
    1616 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    9090Algorithm:
    9191 
    92 XXX completely ad hoc: 
     92XXX completely ad hoc:
    9393start with the user-supplied starting parameter and
    9494call that b.  Calculate a/c as a fractional amount smaller/larger than b.
    9595Repeat this process until a local minimum is found.
    9696 
    97 XXX: new algorithm: 
     97XXX: new algorithm:
    9898start at x=0, expand in one direction until the function
    9999decreases.  Then you have two points in the bracket.  Keep going until it
     
    544544            }
    545545        }
     546        v->n++;
    546547    }
    547548
  • trunk/psLib/src/math/psStats.c

    r6437 r6449  
    1616 * use ->min and ->max (PS_STAT_USE_RANGE)
    1717 *
    18  *  @version $Revision: 1.168 $ $Name: not supported by cvs2svn $
    19  *  @date $Date: 2006-02-17 00:56:48 $
     18 *  @version $Revision: 1.169 $ $Name: not supported by cvs2svn $
     19 *  @date $Date: 2006-02-18 00:56:44 $
    2020 *
    2121 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    18541854            y->data.F32[j] = newHistogramSmoothed->data.F32[i];
    18551855            x->data[j] = (psPtr *) psVectorAlloc(1, PS_TYPE_F32);
     1856            x->n++;
    18561857            ((psVector *) x->data[j])->data.F32[0] = PS_BIN_MIDPOINT(newHistogram, i);
    18571858            j++;
Note: See TracChangeset for help on using the changeset viewer.