﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
203	psMinimizeLMChi2()	gusciora@…	Paul Price	"As a result of a conversation with Paul Price, we are no longer attempting a
general LMM minimization routine.  Instead I have implemented a LMM chi-squared
minimization routine.  Since function prototypes are not specified in the
current SDR, I implemented what seemed reasonable to me, however feel free to
modify it:

  typedef
  float (*psMinimizeLMChi2Func)(psVector *deriv,
                                const psVector *params,
                                const psVector *coords);

  bool psMinimizeLMChi2(psMinimization *min,
                        psVector *params,
                        const psVector *paramMask,
                        psImage *covar,
                        const psArray *coords,
                        const psVector *value,
                        psMinimizeLMChi2Func func);

The significant difference is that psMinimizeLMChi2Func() takes as input a
single coord, rather than an array of coords.  The reason for this is that the
algorithm in NR requires a derivative for each point, rather than a derivative
for all of the points, somehow.  Let me know what you think."	defect	closed	high		PSLib SDRS	unspecified	normal	fixed		
