Package bitchanger.calculations
Class HornersMethod
- java.lang.Object
-
- bitchanger.calculations.ConversionStep
-
- bitchanger.calculations.HornersMethod
-
public class HornersMethod extends ConversionStep
- Since:
- Bitchanger 0.1.8
- Version:
- 0.1.8
- Author:
- Tim Mühle
-
-
Constructor Summary
Constructors Constructor Description HornersMethod(List<Double> coefficients, double base)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private void
calculate()
double
getBase()
List<Double>
getCoefficients()
List<Double>
getProducts()
double
getResult()
List<Double>
getSums()
String
toString()
-
Methods inherited from class bitchanger.calculations.ConversionStep
getDescription, hasDescription, isDescription, isNewStep, setDescription, setNewStep
-
-
-
-
Method Detail
-
calculate
private void calculate()
-
getBase
public double getBase()
-
getResult
public double getResult()
-
toString
public String toString()
- Overrides:
toString
in classConversionStep
-
-