org.matheclipse.core.basic
Class Config
- java.lang.Object
-
- org.matheclipse.core.basic.Config
-
public class Config extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field and Description static intAST_MAX_POOL_SIZEMaximum size of the AST pools in server mode.static intBIGINTEGER_MAX_SIZEMaximum size of the BigInteger words in server mode.static intCOMPLEX_MAX_POOL_SIZEMaximum size of the ComplexImpl pools in server mode.static booleanDEBUGSwitch debug mode on/offstatic doubleDOUBLE_EPSILONstatic intDOUBLE_MAX_POOL_SIZEMaximum size of the DoubleImpl pools in server mode.static doubleDOUBLE_TOLERANCEThe double tolerance used for comparisons.static intDOUBLECOMPLEX_MAX_POOL_SIZEMaximum size of the DoubleComplexImpl pools in server mode.static intFASTTABLE_MAX_SIZEMaximum size of the FastTable entries in server mode.static longFOREVERThe time in milliseconds an evaluation thread should run.
0 => foreverstatic intFRACTION_MAX_POOL_SIZEMaximum size of the FractionImpl pools in server mode.static intINTEGER_MAX_POOL_SIZEMaximum size of the IntegerImpl pools in server mode.static intMAX_DOUBLE_MATRIX_SIZEMaximum size of the double matrix's in server mode.static intMAX_DOUBLE_VECTOR_SIZEMaximum size of the double vector's in server mode.static booleanPARSER_USE_LOWERCASE_SYMBOLSIftruethe parser don't distinguish between lower- or uppercase symbols (i.e.static intPATTERN_MAX_POOL_SIZEMaximum size of the PatternImpl pools in server mode.static booleanSERVER_MODEtrueif the engine is started by a servlet
In server mode the user can only assign values to variables with prefix '$'
SERVER_MODE should be set totruein the initialization of a servletstatic booleanSHOW_CONSOLEShow the console output, if an expression has a head symbol with attributeISymbol.CONSOLE_OUTPUT.static booleanSHOW_PATTERN_EVAL_STEPSShow the pattern-matching evaluation steps in the console output.static java.util.Set<ISymbol>SHOW_PATTERN_SYMBOL_STEPSstatic booleanSHOW_STACKTRACEShow the stack trace, if an exception is thrown in evaluationstatic intSTRING_MAX_POOL_SIZEMaximum size of the StringImpl pools in server mode.static intSTRING_MAX_SIZEMaximum length of the StringImpl'sStringin server mode.static booleanSWING_PLOT_FRAMECOMPILER switch - set this boolean variable totrue, if you would force a direct plot frame creation from the Plot[], Plot3D[] and ParametricPlot[] functions On the server this switch should be set tofalsestatic longTIME_CONSTRAINED_MILLISECONDSThe time in milliseconds an evaluation thread should run.
0 => foreverstatic longTIME_CONSTRAINED_SLEEP_MILLISECONDSThe time in milliseconds an evaluation thread should sleep untilThread#stop()will be called.
-
Constructor Summary
Constructors Constructor and Description Config()
-
-
-
Field Detail
-
SWING_PLOT_FRAME
public static boolean SWING_PLOT_FRAME
COMPILER switch - set this boolean variable totrue, if you would force a direct plot frame creation from the Plot[], Plot3D[] and ParametricPlot[] functions On the server this switch should be set tofalse
-
TIME_CONSTRAINED_MILLISECONDS
public static long TIME_CONSTRAINED_MILLISECONDS
The time in milliseconds an evaluation thread should run.
0 => forever
-
FOREVER
public static final long FOREVER
The time in milliseconds an evaluation thread should run.
0 => forever- See Also:
- Constant Field Values
-
TIME_CONSTRAINED_SLEEP_MILLISECONDS
public static final long TIME_CONSTRAINED_SLEEP_MILLISECONDS
The time in milliseconds an evaluation thread should sleep untilThread#stop()will be called.- See Also:
- Constant Field Values
-
DEBUG
public static final boolean DEBUG
Switch debug mode on/off- See Also:
- Constant Field Values
-
SHOW_STACKTRACE
public static final boolean SHOW_STACKTRACE
Show the stack trace, if an exception is thrown in evaluation- See Also:
- Constant Field Values
-
SHOW_CONSOLE
public static final boolean SHOW_CONSOLE
Show the console output, if an expression has a head symbol with attributeISymbol.CONSOLE_OUTPUT.- See Also:
- Constant Field Values
-
SHOW_PATTERN_EVAL_STEPS
public static final boolean SHOW_PATTERN_EVAL_STEPS
Show the pattern-matching evaluation steps in the console output.- See Also:
- Constant Field Values
-
SHOW_PATTERN_SYMBOL_STEPS
public static final java.util.Set<ISymbol> SHOW_PATTERN_SYMBOL_STEPS
-
PARSER_USE_LOWERCASE_SYMBOLS
public static boolean PARSER_USE_LOWERCASE_SYMBOLS
Iftruethe parser don't distinguish between lower- or uppercase symbols (i.e. constants, function names,...)
-
SERVER_MODE
public static boolean SERVER_MODE
trueif the engine is started by a servlet
In server mode the user can only assign values to variables with prefix '$'
SERVER_MODE should be set totruein the initialization of a servlet
-
DOUBLE_EPSILON
public static double DOUBLE_EPSILON
-
DOUBLE_TOLERANCE
public static final double DOUBLE_TOLERANCE
The double tolerance used for comparisons.
-
BIGINTEGER_MAX_SIZE
public static int BIGINTEGER_MAX_SIZE
Maximum size of the BigInteger words in server mode.- See Also:
apache.harmony.math.BigInteger
-
FASTTABLE_MAX_SIZE
public static int FASTTABLE_MAX_SIZE
Maximum size of the FastTable entries in server mode.- See Also:
FastTable
-
STRING_MAX_SIZE
public static int STRING_MAX_SIZE
Maximum length of the StringImpl'sStringin server mode.- See Also:
org.matheclipse.core.expression.Expression
-
AST_MAX_POOL_SIZE
public static int AST_MAX_POOL_SIZE
Maximum size of the AST pools in server mode.- See Also:
AST
-
INTEGER_MAX_POOL_SIZE
public static int INTEGER_MAX_POOL_SIZE
Maximum size of the IntegerImpl pools in server mode.- See Also:
org.matheclipse.core.expression.Expression
-
FRACTION_MAX_POOL_SIZE
public static int FRACTION_MAX_POOL_SIZE
Maximum size of the FractionImpl pools in server mode.- See Also:
org.matheclipse.core.expression.Expression
-
COMPLEX_MAX_POOL_SIZE
public static int COMPLEX_MAX_POOL_SIZE
Maximum size of the ComplexImpl pools in server mode.- See Also:
org.matheclipse.core.expression.Expression
-
DOUBLE_MAX_POOL_SIZE
public static int DOUBLE_MAX_POOL_SIZE
Maximum size of the DoubleImpl pools in server mode.- See Also:
org.matheclipse.core.expression.Expression
-
DOUBLECOMPLEX_MAX_POOL_SIZE
public static int DOUBLECOMPLEX_MAX_POOL_SIZE
Maximum size of the DoubleComplexImpl pools in server mode.- See Also:
org.matheclipse.core.expression.Expression
-
PATTERN_MAX_POOL_SIZE
public static int PATTERN_MAX_POOL_SIZE
Maximum size of the PatternImpl pools in server mode.- See Also:
org.matheclipse.core.expression.Expression
-
STRING_MAX_POOL_SIZE
public static int STRING_MAX_POOL_SIZE
Maximum size of the StringImpl pools in server mode.- See Also:
org.matheclipse.core.expression.Expression
-
MAX_DOUBLE_VECTOR_SIZE
public static int MAX_DOUBLE_VECTOR_SIZE
Maximum size of the double vector's in server mode.- See Also:
Alloc
-
MAX_DOUBLE_MATRIX_SIZE
public static int MAX_DOUBLE_MATRIX_SIZE
Maximum size of the double matrix's in server mode.- See Also:
Alloc
-
-
DMelt 3.0 © DataMelt by jWork.ORG