Ooops - Never mind - crossed my calculus wires for a sec there - sorry for the
noise,
Ole
On 08/06/2015 05:30 PM, Ole Ersoy wrote:
Hi Guys,
Reviewing the org.apache.commons.math4.fitting.leastsquares.StraightLineProblem
(f(x) = ax + b). For the jacobian we have:
// Partial de
Hi Guys,
Reviewing the org.apache.commons.math4.fitting.leastsquares.StraightLineProblem
(f(x) = ax + b). For the jacobian we have:
// Partial derivative wrt "a".
jacobian[i][0] = p[0];
// Partial derivative wrt "b".
jacobian[i][1] = 1;
Should