jml.matlab.utils
Class Power

java.lang.Object
  extended by jml.matlab.utils.Power
All Implemented Interfaces:
org.apache.commons.math.analysis.UnivariateRealFunction

public class Power
extends java.lang.Object
implements org.apache.commons.math.analysis.UnivariateRealFunction


Field Summary
(package private)  double exponent
           
 
Constructor Summary
Power(double exponent)
           
 
Method Summary
 double value(double x)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

exponent

double exponent
Constructor Detail

Power

public Power(double exponent)
Method Detail

value

public double value(double x)
             throws org.apache.commons.math.FunctionEvaluationException
Specified by:
value in interface org.apache.commons.math.analysis.UnivariateRealFunction
Throws:
org.apache.commons.math.FunctionEvaluationException