org.apache.commons.math3.analysis.interpolation
Class BicubicSplineInterpolatingFunctionTest

java.lang.Object
  extended by org.apache.commons.math3.analysis.interpolation.BicubicSplineInterpolatingFunctionTest

public final class BicubicSplineInterpolatingFunctionTest
extends Object

Test case for the bicubic function.

Version:
$Id$

Constructor Summary
BicubicSplineInterpolatingFunctionTest()
           
 
Method Summary
 void testMatchingPartialDerivatives()
          Test that the partial derivatives computed from a BicubicSplineInterpolatingFunction match the input data.
 void testParaboloid()
          Test for a paraboloid.
 void testPlane()
          Test for a plane.
 void testPreconditions()
          Test preconditions.
 void testSplinePartialDerivatives()
          Test for partial derivatives of BicubicSplineFunction.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BicubicSplineInterpolatingFunctionTest

public BicubicSplineInterpolatingFunctionTest()
Method Detail

testPreconditions

public void testPreconditions()
Test preconditions.


testPlane

public void testPlane()
Test for a plane.

z = 2 x - 3 y + 5


testParaboloid

public void testParaboloid()
Test for a paraboloid.

z = 2 x2 - 3 y2 + 4 x y - 5


testSplinePartialDerivatives

public void testSplinePartialDerivatives()
Test for partial derivatives of BicubicSplineFunction.

f(x, y) = ΣiΣj (i+1) (j+2) xi yj


testMatchingPartialDerivatives

public void testMatchingPartialDerivatives()
Test that the partial derivatives computed from a BicubicSplineInterpolatingFunction match the input data.

f(x, y) = 5 - 3 x + 2 y - x y + 2 x2 - 3 y2 + 4 x2 y - x y2 - 3 x3 + y3



Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.