org.apache.commons.math.analysis.function
Class Add

java.lang.Object
  extended by org.apache.commons.math.analysis.function.Add
All Implemented Interfaces:
BivariateRealFunction

public class Add
extends java.lang.Object
implements BivariateRealFunction

Add the two operands.

Since:
3.0
Version:
$Id$

Constructor Summary
Add()
           
 
Method Summary
 double value(double x, double y)
          Compute the value for the function.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Add

public Add()
Method Detail

value

public double value(double x,
                    double y)
Compute the value for the function.

Specified by:
value in interface BivariateRealFunction
Parameters:
x - Abscissa for which the function value should be computed.
y - Ordinate for which the function value should be computed.
Returns:
the value.


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