vec_math
Class RecursivePolynom.Constant
java.lang.Object
vec_math.RecursivePolynom.Constant
- All Implemented Interfaces:
- Derivative, Function
- Enclosing class:
- RecursivePolynom
public static class RecursivePolynom.Constant
- extends Object
- implements Derivative
The zero-order recursive polynom is a constant.
|
Method Summary |
double |
derivative(double t)
Calculates the first derivative of the function at the given argument
value, i.e. |
double |
evaluate(double t)
Given the value of the independant variable, this method returns
the value of the function as a primitive double. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RecursivePolynom.Constant
public RecursivePolynom.Constant()
evaluate
public double evaluate(double t)
- Description copied from interface:
Function
- Given the value of the independant variable, this method returns
the value of the function as a primitive double.
- Specified by:
evaluate in interface Function
derivative
public double derivative(double t)
- Description copied from interface:
Derivative
- Calculates the first derivative of the function at the given argument
value, i.e. we return df/dx(x).
- Specified by:
derivative in interface Derivative