Package com.imsl.test.example.math
Class NonlinLeastSquaresEx2
java.lang.Object
com.imsl.test.example.math.NonlinLeastSquaresEx2
NonlinLeastSquares Example 2: Solves a nonlinear least squares problem with a user supplied Jacobian.
A nonlinear least squares problem involving a vector-valued function is solved using a user supplied Jacobian. The same function as inNonlinLeastSquaresEx1 is solved using the
exact Jacobian.
The problem is to minimize the vector-function,
$$ f(x_1, x_2) =
\begin{bmatrix}
10.0(x_2-x_1^2)\\
1.0 - x_1
\end{bmatrix} $$
The analytic Jacobian is $$ J(x_1,x_2) = \begin{bmatrix}-20.0x_1 & 10.0\\ -1.0 & 0.0 \end{bmatrix}. $$
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
NonlinLeastSquaresEx2
public NonlinLeastSquaresEx2()
-
-
Method Details
-
main
-