Package com.imsl.test.example.math
Class NumericalDerivativesEx2
java.lang.Object
com.imsl.test.example.math.NumericalDerivativesEx2
Approximates one component of the gradient using numerical differentiation.
This example uses the same data as in example
NumericalDerivativesEx1. In this case, numerical differentiation is
used for \(y_1\) and the analytical derivative is used for \(y_2\). The input
array options specifies that numerical differentiation with
respect to \(y_2\) is skipped. This example illustrates using mixed numerical
and analytical derivatives. Using analytical derivatives where possible helps
improve accuracy.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
NumericalDerivativesEx2
public NumericalDerivativesEx2()
-
-
Method Details
-
main
-