On Tue, 28 Jul 2015 07:44:35 -0400, Nigel R Murray wrote:
Thank you for the quick turnaround Luc. I didn't realize that the
DerivativeStructure did not have to be used directly. That actually
makes
everything much simpler (and, in my opinion, was absolutely the right
design choice). From what you've written so far, I can stick with
the
MultivariateMatrixFunction for the Jacobian.
I went ahead and changed my code to mimic your example. The only
significant issue I ran across was the weight matrix for the
LeastSquaresBuilder. Before, it was a vector whose elements
corresponded
to the data elements. But the LeastSquaresBuilder requires a square
matrix. The references to the weight matrix in Section 14
(LeastSquares)
still indicate a vector. For now I have removed the weights in order
to
use the system default.
For the particular case of diagonal weights:
http://commons.apache.org/proper/commons-math/javadocs/api-3.5/org/apache/commons/math3/linear/DiagonalMatrix.html
Regards,
Gilles
> [...]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]