Contains configuration of arbitrary precision calculation and supplies them by get and set methods.
More...
#include <configuration.h>
Contains configuration of arbitrary precision calculation and supplies them by get and set methods.
Getter function for the check precision mode.
- Returns
- The current check precision mode.
static double arbitraryprecisioncalculation::Configuration::getCheckPrecisionProbability |
( |
| ) |
|
|
static |
Getter function for the check precision probability.
- Returns
- The current check precision probability.
static int arbitraryprecisioncalculation::Configuration::getInitialPrecision |
( |
| ) |
|
|
static |
Getter function for the initial precision.
- Returns
- The currently stored initial precision.
static int arbitraryprecisioncalculation::Configuration::getOutputPrecision |
( |
| ) |
|
|
static |
Getter function for the output precision.
- Returns
- The currently stored output precision.
static int arbitraryprecisioncalculation::Configuration::getPrecisionSafetyMargin |
( |
| ) |
|
|
static |
Getter function for the precision safety margin.
- Returns
- The currently stored precision safety margin.
static RandomNumberGenerator* arbitraryprecisioncalculation::Configuration::getStandardRandomNumberGenerator |
( |
| ) |
|
|
static |
Getter function for the standard random number generator.
- Returns
- The currently stored standard random number generator.
static void arbitraryprecisioncalculation::Configuration::Init |
( |
| ) |
|
|
static |
Resets all variables in the configuration section to the default values.
static bool arbitraryprecisioncalculation::Configuration::isIncreasePrecisionRecommended |
( |
| ) |
|
|
static |
Status function for increasing precision.
- Return values
-
TRUE | if calculations recommend an increase of the precision. |
FALSE | otherwise. |
static void arbitraryprecisioncalculation::Configuration::RecommendIncreasePrecision |
( |
| ) |
|
|
static |
Sets the status whether the precision should be increased to YES.
static void arbitraryprecisioncalculation::Configuration::ResetIncreasePrecisionRecommended |
( |
| ) |
|
|
static |
Resets the status whether the precision should be increased to NO.
Setter function for the check precision mode. Stores the given check precision mode.
- Parameters
-
checkPrecisionMode | The new check precision mode. |
static void arbitraryprecisioncalculation::Configuration::setCheckPrecisionProbability |
( |
double |
checkPrecisionProbability | ) |
|
|
static |
Setter function for the check precision probability. Stores the given check precision probability.
- Parameters
-
checkPrecisionProbability | The new check precision probability. |
static void arbitraryprecisioncalculation::Configuration::setInitialPrecision |
( |
int |
initialPrecision | ) |
|
|
static |
Setter function for the initial precision. Stores the given initial precision.
- Parameters
-
initialPrecision | The new initial precision. |
static void arbitraryprecisioncalculation::Configuration::setOutputPrecision |
( |
int |
outputPrecision | ) |
|
|
static |
Setter function for the output precision. Stores the given output precision.
- Parameters
-
outputPrecision | The new output precision. |
static void arbitraryprecisioncalculation::Configuration::setPrecisionSafetyMargin |
( |
int |
precisionSafetyMargin | ) |
|
|
static |
Setter function for the precision safety margin. Stores the given precision safety margin.
- Parameters
-
precisionSafetyMargin | The new precision safety margin. |
static void arbitraryprecisioncalculation::Configuration::setStandardRandomNumberGenerator |
( |
RandomNumberGenerator * |
standardRandomNumberGenerator | ) |
|
|
static |
Setter function for the standard random number generator. Stores the given standard random number generator.
- Parameters
-
standardRandomNumberGenerator | The new standard random number generator. |
The documentation for this class was generated from the following file: