ILIAS
trunk Revision v11.0_alpha-1723-g8e69f309bab
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Static Public Member Functions | |
static | _add ($left_operand, $right_operand, int $scale=50) |
static | _div ($left_operand, $right_operand, int $scale=50) |
static | _mod ($operand, $modulu) |
static | _mul ($left_operand, $right_operand, int $scale=50) |
static | _pow ($left_operand, $right_operand, int $scale=50) |
static | _sqrt ($operand, int $scale=50) |
static | _sub ($left_operand, $right_operand, int $scale=50) |
static | isCoprimeFraction ($numerator, $denominator) |
static | getGreatestCommonDivisor ($a, $b) |
static | setDefaultAdapter (ilMathAdapter $adapter) |
static | getDefaultAdapter () |
static | getInstance (?string $adapter=null) |
static | getFirstValidAdapter () |
static | __callStatic (string $method, $args) |
Backward compatibility: Map all static calls to an equivalent instance method of the adapter. More... | |
Static Protected Attributes | |
static ilMathAdapter | $default_adapter = null |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning static _round(mixed $value, int $precision) : string static _equals(mixed $left_operand, mixed $right_operand, int $scale = null) : bool
Definition at line 23 of file class.ilMath.php.
|
static |
Backward compatibility: Map all static calls to an equivalent instance method of the adapter.
string | $method | |
mixed | $args |
Definition at line 184 of file class.ilMath.php.
|
static |
int | float | $left_operand | |
int | float | $right_operand |
Definition at line 32 of file class.ilMath.php.
Referenced by assFormulaQuestionVariable\getRandomValue(), assFormulaQuestionResult\isInTolerance(), and EvalMath\pfx().
|
static |
int | float | $left_operand | |
int | float | $right_operand |
ilMathDivisionByZeroException |
Definition at line 43 of file class.ilMath.php.
Referenced by assFormulaQuestionResult\calculateFormula(), assFormulaQuestion\getBestSolution(), assFormulaQuestionVariable\getRandomValue(), assFormulaQuestionResult\getReachedPoints(), assFormulaQuestionResult\isCorrect(), assFormulaQuestionResult\isInTolerance(), EvalMath\pfx(), and assFormulaQuestionResult\suggestRange().
|
static |
int | float | $operand | |
int | float | $modulu |
ilMathDivisionByZeroException |
Definition at line 53 of file class.ilMath.php.
|
static |
int | float | $left_operand | |
int | float | $right_operand |
Definition at line 63 of file class.ilMath.php.
Referenced by assFormulaQuestionVariable\getBaseValue(), assFormulaQuestionVariable\getRandomValue(), assFormulaQuestionResult\getRangeMaxBase(), assFormulaQuestionResult\getRangeMinBase(), assFormulaQuestionResult\getReachedPoints(), assFormulaQuestionResult\getResultInfo(), assFormulaQuestionResult\isCorrect(), assFormulaQuestionResult\isInTolerance(), EvalMath\pfx(), and assFormulaQuestionResult\suggestRange().
|
static |
int | float | $left_operand | |
int | float | $right_operand |
Definition at line 73 of file class.ilMath.php.
Referenced by assFormulaQuestionVariable\getRandomValue(), and EvalMath\pfx().
|
static |
|
static |
int | float | $left_operand | |
int | float | $right_operand |
Definition at line 92 of file class.ilMath.php.
Referenced by assFormulaQuestionVariable\getRandomValue(), assFormulaQuestionResult\isInTolerance(), and EvalMath\pfx().
|
static |
Definition at line 127 of file class.ilMath.php.
References null.
|
static |
ilMathException |
Definition at line 169 of file class.ilMath.php.
|
static |
int | float | $a | |
int | float | $b |
Definition at line 113 of file class.ilMath.php.
References Vendor\Package\$a, and Vendor\Package\$b.
Referenced by ilMathTest\testGcd().
|
static |
ilMathException |
Definition at line 139 of file class.ilMath.php.
References null.
|
static |
int | float | $numerator | |
int | float | $denominator |
Definition at line 101 of file class.ilMath.php.
|
static |
Definition at line 122 of file class.ilMath.php.
Referenced by ilMathBaseAdapterTestCase\setUp().
|
staticprotected |
Definition at line 25 of file class.ilMath.php.