Package com.imsl.test.example.math
Class Spline2DLeastSquaresEx1
java.lang.Object
com.imsl.test.example.math.Spline2DLeastSquaresEx1
Computes a tensor-product cubic spline least squares fit to a function.
The data for this example comes from the function \(e^x sin(x + y)\) on the rectangle \([0, 3] \times [0, 5]\). This function is first sampled on a \(50 \times 25\) grid. Next, an attempt to recover it by using tensor-product cubic splines is performed. The values of the function \(e^x sin(x + y)\) are printed on a \(2 \times 2\) grid and compared with the values of the tensor-product spline least-squares fit.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Spline2DLeastSquaresEx1
public Spline2DLeastSquaresEx1()
-
-
Method Details
-
main
-