Index: trunk/psLib/src/math/psMinimizeLMM.h
===================================================================
--- trunk/psLib/src/math/psMinimizeLMM.h	(revision 6185)
+++ trunk/psLib/src/math/psMinimizeLMM.h	(revision 6226)
@@ -8,6 +8,6 @@
  *  @author GLG, MHPCC
  *
- *  @version $Revision: 1.2 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2006-01-23 20:44:29 $
+ *  @version $Revision: 1.3 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2006-01-27 20:08:58 $
  *
  *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
@@ -52,7 +52,22 @@
 psMinimization;
 
+
+/** A data structure for minimization routines.
+ *
+ *  
+ */
+typedef struct
+{
+    psVector *paramMask;                ///< valid / invalid parameters
+    psVector *paramMax;                 ///< max allowed parameters
+    psVector *paramMin;                 ///< min allowed parameters
+    psVector *paramDelta;               ///< max allowed param swing
+}
+psMinConstrain;
+
+psMinConstrain *psMinConstrainAlloc();
+
 #define P_PSMINIMIZATION_SET_MAXITER(m,val) *(int*)&m->maxIter = val
         #define P_PSMINIMIZATION_SET_TOL(m,val) *(float*)&m->tol = val
-
 
                 /** Allocates a psMinimization structure.
@@ -97,5 +112,5 @@
     psImage *covar,                    ///< Covariance matrix
     psVector *params,                  ///< "Best Guess" for the parameters that minimize func
-    const psVector *paramMask,         ///< Parameters to be held fixed by the minimizer
+    psMinConstrain *constrain,         ///< Constraints on the parameters
     const psArray *x,                  ///< Measurement ordinates of multiple vectors
     const psVector *y,                 ///< Measurement coordinates
