Package velo.ladaalpha.fields.math
Class Equation
java.lang.Object
velo.ladaalpha.fields.math.Equation
The Class Equation.
- Author:
- velo
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoublecompute(double input) Compute.doublecomputeInverse(double x) Compute inverse.Equation from string.toString()To string.
-
Constructor Details
-
Equation
public Equation()
-
-
Method Details
-
compute
public double compute(double input) Compute.- Parameters:
input- the input- Returns:
- the double
-
computeInverse
public double computeInverse(double x) Compute inverse.- Parameters:
x- the x- Returns:
- the double
-
toString
To string. -
equationFromString
Equation from string.- Parameters:
eq- the eq- Returns:
- the equation
-