org.opensourcephysics.display2d
Class ZExpansion

java.lang.Object
  extended by org.opensourcephysics.display2d.ZExpansion
All Implemented Interfaces:
Function

public class ZExpansion
extends java.lang.Object
implements Function


Constructor Summary
ZExpansion(double expansion)
          Constructor ZExpansion
 
Method Summary
 double evaluate(double z)
          Evaluates the function at x.
 void setExpansion(double expansion)
           
 void setMinMax(double min, double max)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ZExpansion

public ZExpansion(double expansion)
Constructor ZExpansion

Parameters:
expansion -
Method Detail

setExpansion

public void setExpansion(double expansion)

setMinMax

public void setMinMax(double min,
                      double max)

evaluate

public double evaluate(double z)
Description copied from interface: Function
Evaluates the function at x.

Specified by:
evaluate in interface Function
Returns:
double f(x)