public interface Function
.| Modifier and Type | Method and Description |
|---|---|
double |
getDeriv(double arg)
Returns a value of the first derivative of the function for the given
argument.
|
double |
getValue(double arg)
Returns a value of the function for the given argument.
|
boolean |
hasDeriv()
Returns
true if the function is differentiable. |
double getValue(double arg)
arg - the argumentdouble getDeriv(double arg)
arg - the argumentUnsupportedOperationException - if the function is not
differentiableboolean hasDeriv()
true if the function is differentiable.true - if the function has a first derivative false - if the function hasn't a first derivative Copyright © 2012. All Rights Reserved.