vec_math
Class RecursivePolynom.Linear
java.lang.Object
vec_math.RecursivePolynom.Linear
- All Implemented Interfaces:
- Derivative, Function
- Enclosing class:
- RecursivePolynom
public static class RecursivePolynom.Linear
- extends Object
- implements Derivative
The first-order recursive polynom is linear.
|
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.Linear
public RecursivePolynom.Linear()
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