Package org.mariuszgromada.math.mxparser
Class CalcStepsRegister
- java.lang.Object
-
- org.mariuszgromada.math.mxparser.CalcStepsRegister
-
- All Implemented Interfaces:
Serializable
public class CalcStepsRegister extends Object implements Serializable
Calculation is a multistep process and this class provides a register to store all the steps, also done in a recursive way.- Version:
- 5.2.0
- 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
, Serialized Form
Buy me a cup of coffee via donation
or support me purchasing the license via ORDER Page , or INFIMA online store
-
-
Field Summary
Fields Modifier and Type Field Description String
argumentNameStart
If a root of the calculation tree is an argument then argument name is provided hereList<CalcStepRecord>
calcStepRecords
List that stores all the calculation stepsdouble
computingTime
Duration of calculation process - in secondsString
errorMessage
Information on error or lack of error while performing calculation processString
expressionStringStart
1.String
functionNameStart
If a root of the calculation tree is a function then function name is provided heredouble
result
Final result of calculation
-
Constructor Summary
Constructors Constructor Description CalcStepsRegister()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
consolePrint()
Prints this step register to the console.String
toString()
-
-
-
Field Detail
-
calcStepRecords
public List<CalcStepRecord> calcStepRecords
List that stores 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
-
-