ILIAS
Release_4_4_x_branch Revision 61816
|
Public Member Functions | |
exp2dec ($float_str) |
Static Public Member Functions | |
static | _add ($left_operand, $right_operand, $scale=50) |
static | _comp ($left_operand, $right_operand, $scale=50) |
static | _div ($left_operand, $right_operand, $scale=50) |
static | _mod ($left_operand, $modulus) |
static | _mul ($left_operand, $right_operand, $scale=50) |
static | _pow ($left_operand, $right_operand, $scale=50) |
static | _sqrt ($operand, $scale=50) |
static | _sub ($left_operand, $right_operand, $scale=50) |
static | isCoprimeFraction ($numerator, $denominator) |
static | getGreatestCommonDivisor ($a, $b) |
static | _round ($value, $precision=0) |
static | _equals ($value1, $value2, $scale) |
Static Private Member Functions | |
static | bcconv ($fNumber) |
Class ilMath.
Wrapper for mathematical operations
Definition at line 32 of file class.ilMath.php.
|
static |
Definition at line 37 of file class.ilMath.php.
References $res, and bcconv().
Referenced by assFormulaQuestionVariable\getRandomValue(), assFormulaQuestionResult\isInTolerance(), and EvalMath\pfx().
|
static |
Definition at line 58 of file class.ilMath.php.
References bcconv().
Referenced by _equals().
|
static |
Definition at line 84 of file class.ilMath.php.
References $res, and bcconv().
Referenced by assFormulaQuestionResult\calculateFormula(), assFormulaQuestion\getBestSolution(), assFormulaQuestionVariable\getRandomValue(), assFormulaQuestionResult\getReachedPoints(), assFormulaQuestionResult\isCorrect(), assFormulaQuestionResult\isInTolerance(), EvalMath\pfx(), and assFormulaQuestionResult\suggestRange().
|
static |
Definition at line 290 of file class.ilMath.php.
References _comp().
Referenced by assFormulaQuestionResult\getReachedPoints(), and assFormulaQuestionResult\isCorrect().
|
static |
Definition at line 106 of file class.ilMath.php.
References bcconv().
|
static |
Definition at line 124 of file class.ilMath.php.
References $res, and bcconv().
Referenced by assFormulaQuestionVariable\getBaseValue(), assFormulaQuestionVariable\getRandomValue(), assFormulaQuestionResult\getRangeMaxBase(), assFormulaQuestionResult\getRangeMinBase(), assFormulaQuestionResult\getReachedPoints(), assFormulaQuestionResult\getResultInfo(), assFormulaQuestionResult\isCorrect(), assFormulaQuestionResult\isInTolerance(), EvalMath\pfx(), and assFormulaQuestionResult\suggestRange().
|
static |
Definition at line 145 of file class.ilMath.php.
References $res, bcconv(), and exp2dec().
Referenced by assFormulaQuestionVariable\getRandomValue(), and EvalMath\pfx().
|
static |
Definition at line 285 of file class.ilMath.php.
Referenced by assFormulaQuestionResult\calculateFormula(), and assFormulaQuestionResult\isCorrect().
|
static |
Definition at line 176 of file class.ilMath.php.
References $res, and bcconv().
|
static |
Definition at line 196 of file class.ilMath.php.
References $res, and bcconv().
Referenced by assFormulaQuestionVariable\getRandomValue(), assFormulaQuestionResult\isInTolerance(), and EvalMath\pfx().
|
staticprivate |
$fNumber |
Definition at line 301 of file class.ilMath.php.
References exp2dec().
Referenced by _add(), _comp(), _div(), _mod(), _mul(), _pow(), _sqrt(), and _sub().
ilMath::exp2dec | ( | $float_str | ) |
Definition at line 218 of file class.ilMath.php.
Referenced by _pow(), and bcconv().
|
static |
Definition at line 273 of file class.ilMath.php.
Referenced by isCoprimeFraction().
|
static |
Definition at line 266 of file class.ilMath.php.
References getGreatestCommonDivisor().