IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 27, 2006, 10:08:58 AM (20 years ago)
Author:
gusciora
Message:

I added tests for psImageSmooth, modified the psStats stuff and the Min
routines.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/math/psMinimizeLMM.h

    r6185 r6226  
    88 *  @author GLG, MHPCC
    99 *
    10  *  @version $Revision: 1.2 $ $Name: not supported by cvs2svn $
    11  *  @date $Date: 2006-01-23 20:44:29 $
     10 *  @version $Revision: 1.3 $ $Name: not supported by cvs2svn $
     11 *  @date $Date: 2006-01-27 20:08:58 $
    1212 *
    1313 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    5252psMinimization;
    5353
     54
     55/** A data structure for minimization routines.
     56 *
     57 * 
     58 */
     59typedef struct
     60{
     61    psVector *paramMask;                ///< valid / invalid parameters
     62    psVector *paramMax;                 ///< max allowed parameters
     63    psVector *paramMin;                 ///< min allowed parameters
     64    psVector *paramDelta;               ///< max allowed param swing
     65}
     66psMinConstrain;
     67
     68psMinConstrain *psMinConstrainAlloc();
     69
    5470#define P_PSMINIMIZATION_SET_MAXITER(m,val) *(int*)&m->maxIter = val
    5571        #define P_PSMINIMIZATION_SET_TOL(m,val) *(float*)&m->tol = val
    56 
    5772
    5873                /** Allocates a psMinimization structure.
     
    97112    psImage *covar,                    ///< Covariance matrix
    98113    psVector *params,                  ///< "Best Guess" for the parameters that minimize func
    99     const psVector *paramMask,         ///< Parameters to be held fixed by the minimizer
     114    psMinConstrain *constrain,         ///< Constraints on the parameters
    100115    const psArray *x,                  ///< Measurement ordinates of multiple vectors
    101116    const psVector *y,                 ///< Measurement coordinates
Note: See TracChangeset for help on using the changeset viewer.