org.apache.commons.math.analysis
Interface MultivariateRealFunction

All Known Subinterfaces:
DifferentiableMultivariateRealFunction
All Known Implementing Classes:
LeastSquaresConverter, MicrosphereInterpolatingFunction

public interface MultivariateRealFunction

An interface representing a multivariate real function.

Since:
2.0
Version:
$Id: MultivariateRealFunction.java 1165809 2011-09-06 20:00:37Z luc $

Method Summary
 double value(double[] point)
          Compute the value for the function at the given point.
 

Method Detail

value

double value(double[] point)
Compute the value for the function at the given point.

Parameters:
point - Point at which the function must be evaluated.
Returns:
the function value for the given point.
Throws:
DimensionMismatchException - if the parameter's dimension is wrong for the function being evaluated.
MathIllegalArgumentException - when the activated method itself can ascertain that preconditions, specified in the API expressed at the level of the activated method, have been violated. In the vast majority of cases where Commons Math throws this exception, it is the result of argument checking of actual parameters immediately passed to a method.


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