org.gersteinlab.regulation.numeric
Class DoublyDifferentiableMultivariateFunction

java.lang.Object
  extended by org.gersteinlab.regulation.numeric.MultivariateFunction
      extended by org.gersteinlab.regulation.numeric.DifferentiableMultivariateFunction
          extended by org.gersteinlab.regulation.numeric.DoublyDifferentiableMultivariateFunction
Direct Known Subclasses:
PolynomialSqrDiff, RateModelSqrDiff

public abstract class DoublyDifferentiableMultivariateFunction
extends DifferentiableMultivariateFunction

        A class that represents a doubly differentiable multivariate real
        function. Each inherited class should implement at least one of
        hf(double) and hf().
        

Version:
1.0 (August 29, 2008)
        Change History:
        1.0     - Initial version
        
Author:
Kevin Yuk-Lap Yip

Field Summary
 
Fields inherited from class org.gersteinlab.regulation.numeric.MultivariateFunction
xStored
 
Constructor Summary
DoublyDifferentiableMultivariateFunction()
           
 
Method Summary
 double[][] hf()
          Evaluate the Hessian of the function at the stored point.
 double[][] hf(double[] x)
          Evaluate the Hessian of the function at a point.
 
Methods inherited from class org.gersteinlab.regulation.numeric.DifferentiableMultivariateFunction
gf, gf
 
Methods inherited from class org.gersteinlab.regulation.numeric.MultivariateFunction
f, f, set
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DoublyDifferentiableMultivariateFunction

public DoublyDifferentiableMultivariateFunction()
Method Detail

hf

public double[][] hf(double[] x)
Evaluate the Hessian of the function at a point.

Parameters:
x - The point
Returns:
The Hessian of the function at the point

hf

public double[][] hf()
Evaluate the Hessian of the function at the stored point.

Returns:
The Hessian of the function at the point