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 voidcalculate()doublegetBase()List<Double>getCoefficients()List<Double>getProducts()doublegetResult()List<Double>getSums()StringtoString()-
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:
toStringin classConversionStep
-
-