vmm3d.functions
Class Function1
- java.lang.Object
-
- vmm3d.functions.Function
-
- vmm3d.functions.Function1
-
public class Function1 extends Function
Represents a real-valued function of one real argument. A Function1 can only be created by a Parser.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description doublevalue(double x)Find the value of this Function at a specified argument value, using an EvalStack that is unique to the current Thread.doublevalue(double x, EvalStack stack)Find the value of this Function at a specified argument value, using an EvalStack that is provided as a parameter to this method.
-
-
-
Method Detail
-
value
public double value(double x)
Find the value of this Function at a specified argument value, using an EvalStack that is unique to the current Thread.- Parameters:
x- the argument value for which the function will be evaluated
-
value
public double value(double x, EvalStack stack)Find the value of this Function at a specified argument value, using an EvalStack that is provided as a parameter to this method.- Parameters:
x- the argument value for which the function will be evaluatedstack- a non-null EvalStack that will be used for computing the value
-
-
DMelt 3.0 © DataMelt by jWork.ORG