public class NonlinLeastSquaresEx2 extends Object
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(x1,x2)=[10.0(x2−x21)1.0−x1]
The analytic Jacobian is J(x1,x2)=[−20.0x110.0−1.00.0].
Constructor and Description |
---|
NonlinLeastSquaresEx2() |
public static void main(String[] args) throws NonlinLeastSquares.TooManyIterationsException
Copyright © 2020 Rogue Wave Software. All rights reserved.