Package org.mariuszgromada.math.mxparser
Class CalcStepsRegister
- java.lang.Object
-
- org.mariuszgromada.math.mxparser.CalcStepsRegister
-
public class CalcStepsRegister extends Object
Calculation is a multistep process and this class provides a register to store all the steps, also done in a recursive way.- Version:
- 5.0.3
- Author:
- Mariusz Gromada
MathParser.org - mXparser project page
mXparser on GitHub
INFIMA place to purchase a commercial MathParser.org-mXparser software license
info@mathparser.org
ScalarMath.org - a powerful math engine and math scripting language
Scalar Lite
Scalar Pro
MathSpace.pl - See Also:
CalcStepRecord,Expression,Argument,Function
-
-
Field Summary
Fields Modifier and Type Field Description StringargumentNameStartIf a root of the calculation tree is an argument then argument name is provided hereList<CalcStepRecord>calcStepRecordsList that store all the calculation stepsdoublecomputingTimeDuration of calculation process - in secondsStringerrorMessageInformation on error or lack of error while performing calculation processStringexpressionStringStart1.StringfunctionNameStartIf a root of the calculation tree is a function then function name is provided heredoubleresultFinal result of calculation
-
Constructor Summary
Constructors Constructor Description CalcStepsRegister()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconsolePrint()Prints this step register to the console.
-
-
-
Field Detail
-
calcStepRecords
public List<CalcStepRecord> calcStepRecords
List that store all the calculation steps
-
argumentNameStart
public String argumentNameStart
If a root of the calculation tree is an argument then argument name is provided here
-
functionNameStart
public String functionNameStart
If a root of the calculation tree is a function then function name is provided here
-
expressionStringStart
public String expressionStringStart
1. If a root of the calculation tree is an expression then expression string is provided here. 2. If a root of the calculation tree is an argument then argument expression string is provided here. 3. If a root of the calculation tree is a function then function expression string is provided here.
-
result
public double result
Final result of calculation
-
computingTime
public double computingTime
Duration of calculation process - in seconds
-
errorMessage
public String errorMessage
Information on error or lack of error while performing calculation process
-
-