org.apache.commons.math3.analysis.function
Class Max

java.lang.Object
  extended by org.apache.commons.math3.analysis.function.Max
All Implemented Interfaces:
BivariateFunction

public class Max
extends Object
implements BivariateFunction

Maximum function.

Since:
3.0
Version:
$Id: Max.java 1364377 2012-07-22 17:39:16Z tn $

Constructor Summary
Max()
           
 
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

Max

public Max()
Method Detail

value

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

Specified by:
value in interface BivariateFunction
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-2012 The Apache Software Foundation. All Rights Reserved.