ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Static Public Member Functions | |
static | ARABIC ($roman) |
ARABIC. More... | |
static | ATAN2 ($xCoordinate=null, $yCoordinate=null) |
ATAN2. More... | |
static | BASE ($number, $radix, $minLength=null) |
BASE. More... | |
static | CEILING ($number, $significance=null) |
CEILING. More... | |
static | COMBIN ($numObjs, $numInSet) |
COMBIN. More... | |
static | EVEN ($number) |
EVEN. More... | |
static | getEven (float $number) |
Helper function for Even. More... | |
static | FACT ($factVal) |
FACT. More... | |
static | FACTDOUBLE ($factVal) |
FACTDOUBLE. More... | |
static | FLOOR ($number, $significance=null) |
FLOOR. More... | |
static | FLOORMATH ($number, $significance=null, $mode=0) |
FLOOR.MATH. More... | |
static | FLOORPRECISE ($number, $significance=1) |
FLOOR.PRECISE. More... | |
static | INT ($number) |
INT. More... | |
static | GCD (... $args) |
GCD. More... | |
static | LCM (... $args) |
LCM. More... | |
static | logBase ($number, $base=10) |
LOG_BASE. More... | |
static | MDETERM ($matrixValues) |
MDETERM. More... | |
static | MINVERSE ($matrixValues) |
MINVERSE. More... | |
static | MMULT ($matrixData1, $matrixData2) |
MMULT. More... | |
static | MOD ($a=1, $b=1) |
MOD. More... | |
static | MROUND ($number, $multiple) |
MROUND. More... | |
static | MULTINOMIAL (... $args) |
MULTINOMIAL. More... | |
static | ODD ($number) |
ODD. More... | |
static | POWER ($x=0, $y=2) |
POWER. More... | |
static | PRODUCT (... $args) |
PRODUCT. More... | |
static | QUOTIENT ($numerator, $denominator) |
QUOTIENT. More... | |
static | RAND ($min=0, $max=0) |
RAND/RANDBETWEEN. More... | |
static | ROMAN ($aValue, $style=0) |
ROMAN. More... | |
static | ROUNDUP ($number, $digits) |
ROUNDUP. More... | |
static | ROUNDDOWN ($number, $digits) |
ROUNDDOWN. More... | |
static | SERIESSUM ($x, $n, $m,... $args) |
SERIESSUM. More... | |
static | SIGN ($number) |
SIGN. More... | |
static | returnSign (float $number) |
returnSign = returns 0/-1/+1. More... | |
static | SQRTPI ($number) |
SQRTPI. More... | |
static | SUBTOTAL ($functionType,... $args) |
SUBTOTAL. More... | |
static | SUM (... $args) |
SUM. More... | |
static | SUMIF ($range, $criteria, $sumRange=[]) |
SUMIF. More... | |
static | SUMIFS (... $args) |
SUMIFS. More... | |
static | SUMPRODUCT (... $args) |
SUMPRODUCT. More... | |
static | SUMSQ (... $args) |
SUMSQ. More... | |
static | SUMX2MY2 ($matrixData1, $matrixData2) |
SUMX2MY2. More... | |
static | SUMX2PY2 ($matrixData1, $matrixData2) |
SUMX2PY2. More... | |
static | SUMXMY2 ($matrixData1, $matrixData2) |
SUMXMY2. More... | |
static | TRUNC ($value=0, $digits=0) |
TRUNC. More... | |
static | SEC ($angle) |
SEC. More... | |
static | SECH ($angle) |
SECH. More... | |
static | CSC ($angle) |
CSC. More... | |
static | CSCH ($angle) |
CSCH. More... | |
static | COT ($angle) |
COT. More... | |
static | COTH ($angle) |
COTH. More... | |
static | ACOT ($number) |
ACOT. More... | |
static | numberOrNan ($result) |
Return NAN or value depending on argument. More... | |
static | ACOTH ($number) |
ACOTH. More... | |
static | builtinROUND ($number, $precision) |
ROUND. More... | |
static | builtinABS ($number) |
ABS. More... | |
static | builtinACOS ($number) |
ACOS. More... | |
static | builtinACOSH ($number) |
ACOSH. More... | |
static | builtinASIN ($number) |
ASIN. More... | |
static | builtinASINH ($number) |
ASINH. More... | |
static | builtinATAN ($number) |
ATAN. More... | |
static | builtinATANH ($number) |
ATANH. More... | |
static | builtinCOS ($number) |
COS. More... | |
static | builtinCOSH ($number) |
COSH. More... | |
static | builtinDEGREES ($number) |
DEGREES. More... | |
static | builtinEXP ($number) |
EXP. More... | |
static | builtinLN ($number) |
LN. More... | |
static | builtinLOG10 ($number) |
LOG10. More... | |
static | builtinRADIANS ($number) |
RADIANS. More... | |
static | builtinSIN ($number) |
SIN. More... | |
static | builtinSINH ($number) |
SINH. More... | |
static | builtinSQRT ($number) |
SQRT. More... | |
static | builtinTAN ($number) |
TAN. More... | |
static | builtinTANH ($number) |
TANH. More... | |
static | nullFalseTrueToNumber (&$number) |
Many functions accept null/false/true argument treated as 0/0/1. More... | |
Definition at line 8 of file MathTrig.php.
|
static |
ACOT.
Returns the arccotangent of a number.
1.18.0
MathTrig::acot() Use the acot method in the MathTrig class instead
float | $number | Number |
Definition at line 1079 of file MathTrig.php.
References PhpOffice\PhpSpreadsheet\Calculation\MathTrig\Trig\Cotangent\acot().
|
static |
ACOTH.
Returns the hyperbolic arccotangent of a number.
1.18.0
MathTrig::acoth() Use the acoth method in the MathTrig class instead
float | $number | Number |
Definition at line 1115 of file MathTrig.php.
References PhpOffice\PhpSpreadsheet\Calculation\MathTrig\Trig\Cotangent\acoth().
|
static |
ARABIC.
Converts a Roman numeral to an Arabic numeral.
Excel Function: ARABIC(text)
1.18.0
MathTrig::evaluate() Use the evaluate method in the MathTrig class instead
string | $roman |
Definition at line 27 of file MathTrig.php.
References PhpOffice\PhpSpreadsheet\Calculation\MathTrig\Arabic\evaluate().
|
static |
ATAN2.
This function calculates the arc tangent of the two variables x and y. It is similar to calculating the arc tangent of y ÷ x, except that the signs of both arguments are used to determine the quadrant of the result. The arctangent is the angle from the x-axis to a line containing the origin (0, 0) and a point with coordinates (xCoordinate, yCoordinate). The angle is given in radians between -pi and pi, excluding -pi.
Note that the Excel ATAN2() function accepts its arguments in the reverse order to the standard PHP atan2() function, so we need to reverse them here before calling the PHP atan() function.
Excel Function: ATAN2(xCoordinate,yCoordinate)
1.18.0
MathTrig::atan2() Use the atan2 method in the MathTrig class instead
float | $xCoordinate | the x-coordinate of the point |
float | $yCoordinate | the y-coordinate of the point |
Definition at line 58 of file MathTrig.php.
References PhpOffice\PhpSpreadsheet\Calculation\MathTrig\Trig\Tangent\atan2().
|
static |
BASE.
Converts a number into a text representation with the given radix (base).
Excel Function: BASE(Number, Radix [Min_length])
1.18.0
MathTrig::evaluate() Use the evaluate method in the MathTrig class instead
float | $number | |
float | $radix | |
int | $minLength |
Definition at line 82 of file MathTrig.php.
References PhpOffice\PhpSpreadsheet\Calculation\MathTrig\Base\evaluate().
|
static |
ABS.
Returns the result of builtin function abs after validating args.
1.18.0
MathTrig::evaluate() Use the evaluate method in the MathTrig class instead
mixed | $number | Should be numeric |
Definition at line 1154 of file MathTrig.php.
References PhpOffice\PhpSpreadsheet\Calculation\MathTrig\Absolute\evaluate().
|
static |
ACOS.
1.18.0
MathTrig::acos() Use the acos method in the MathTrig class instead
Returns the result of builtin function acos after validating args.
mixed | $number | Should be numeric |
Definition at line 1173 of file MathTrig.php.
References PhpOffice\PhpSpreadsheet\Calculation\MathTrig\Trig\Cosine\acos().
|
static |
ACOSH.
Returns the result of builtin function acosh after validating args.
1.18.0
MathTrig::acosh() Use the acosh method in the MathTrig class instead
mixed | $number | Should be numeric |
Definition at line 1192 of file MathTrig.php.
References PhpOffice\PhpSpreadsheet\Calculation\MathTrig\Trig\Cosine\acosh().
|
static |
ASIN.
Returns the result of builtin function asin after validating args.
1.18.0
MathTrig::asin() Use the asin method in the MathTrig class instead
mixed | $number | Should be numeric |
Definition at line 1211 of file MathTrig.php.
References PhpOffice\PhpSpreadsheet\Calculation\MathTrig\Trig\Sine\asin().
|
static |
ASINH.
Returns the result of builtin function asinh after validating args.
1.18.0
MathTrig::asinh() Use the asinh method in the MathTrig class instead
mixed | $number | Should be numeric |
Definition at line 1230 of file MathTrig.php.
References PhpOffice\PhpSpreadsheet\Calculation\MathTrig\Trig\Sine\asinh().
|
static |
ATAN.
Returns the result of builtin function atan after validating args.
1.18.0
MathTrig::atan() Use the atan method in the MathTrig class instead
mixed | $number | Should be numeric |
Definition at line 1249 of file MathTrig.php.
References PhpOffice\PhpSpreadsheet\Calculation\MathTrig\Trig\Tangent\atan().
|
static |
ATANH.
Returns the result of builtin function atanh after validating args.
1.18.0
MathTrig::atanh() Use the atanh method in the MathTrig class instead
mixed | $number | Should be numeric |
Definition at line 1268 of file MathTrig.php.
References PhpOffice\PhpSpreadsheet\Calculation\MathTrig\Trig\Tangent\atanh().
|
static |
COS.
Returns the result of builtin function cos after validating args.
1.18.0
MathTrig::cos() Use the cos method in the MathTrig class instead
mixed | $number | Should be numeric |
Definition at line 1287 of file MathTrig.php.
References PhpOffice\PhpSpreadsheet\Calculation\MathTrig\Trig\Cosine\cos().
|
static |
COSH.
Returns the result of builtin function cos after validating args.
1.18.0
MathTrig::cosh() Use the cosh method in the MathTrig class instead
mixed | $number | Should be numeric |
Definition at line 1306 of file MathTrig.php.
References PhpOffice\PhpSpreadsheet\Calculation\MathTrig\Trig\Cosine\cosh().
|
static |
DEGREES.
Returns the result of builtin function rad2deg after validating args.
1.18.0
MathTrig::toDegrees() Use the toDegrees method in the MathTrig class instead
mixed | $number | Should be numeric |
Definition at line 1325 of file MathTrig.php.
References PhpOffice\PhpSpreadsheet\Calculation\MathTrig\Angle\toDegrees().
|
static |
EXP.
Returns the result of builtin function exp after validating args.
1.18.0
MathTrig::evaluate() Use the evaluate method in the MathTrig class instead
mixed | $number | Should be numeric |
Definition at line 1344 of file MathTrig.php.
References PhpOffice\PhpSpreadsheet\Calculation\MathTrig\Exp\evaluate().
|
static |
LN.
Returns the result of builtin function log after validating args.
1.18.0
MathTrig::natural() Use the natural method in the MathTrig class instead
mixed | $number | Should be numeric |
Definition at line 1363 of file MathTrig.php.
References PhpOffice\PhpSpreadsheet\Calculation\MathTrig\Logarithms\natural().
|
static |
LOG10.
Returns the result of builtin function log after validating args.
1.18.0
MathTrig::base10() Use the natural method in the MathTrig class instead
mixed | $number | Should be numeric |
Definition at line 1382 of file MathTrig.php.
References PhpOffice\PhpSpreadsheet\Calculation\MathTrig\Logarithms\base10().
|
static |
RADIANS.
Returns the result of builtin function deg2rad after validating args.
1.18.0
MathTrig::toRadians() Use the toRadians method in the MathTrig class instead
mixed | $number | Should be numeric |
Definition at line 1401 of file MathTrig.php.
References PhpOffice\PhpSpreadsheet\Calculation\MathTrig\Angle\toRadians().
|
static |
ROUND.
Returns the result of builtin function round after validating args.
1.17.0
MathTrig::round() Use the round() method in the MathTrig class instead
mixed | $number | Should be numeric |
mixed | $precision | Should be int |
Definition at line 1135 of file MathTrig.php.
References PhpOffice\PhpSpreadsheet\Calculation\MathTrig\Round\round().
|
static |
SIN.
Returns the result of builtin function sin after validating args.
1.18.0
MathTrig::evaluate() Use the sin method in the MathTrig class instead
mixed | $number | Should be numeric |
Definition at line 1420 of file MathTrig.php.
References PhpOffice\PhpSpreadsheet\Calculation\MathTrig\Trig\Sine\sin().
|
static |
SINH.
Returns the result of builtin function sinh after validating args.
1.18.0
MathTrig::sinh() Use the sinh method in the MathTrig class instead
mixed | $number | Should be numeric |
Definition at line 1439 of file MathTrig.php.
References PhpOffice\PhpSpreadsheet\Calculation\MathTrig\Trig\Sine\sinh().
|
static |
SQRT.
Returns the result of builtin function sqrt after validating args.
1.18.0
MathTrig::sqrt() Use the sqrt method in the MathTrig class instead
mixed | $number | Should be numeric |
Definition at line 1458 of file MathTrig.php.
References PhpOffice\PhpSpreadsheet\Calculation\MathTrig\Sqrt\sqrt().
|
static |
TAN.
Returns the result of builtin function tan after validating args.
1.18.0
MathTrig::tan() Use the tan method in the MathTrig class instead
mixed | $number | Should be numeric |
Definition at line 1477 of file MathTrig.php.
References PhpOffice\PhpSpreadsheet\Calculation\MathTrig\Trig\Tangent\tan().
|
static |
TANH.
Returns the result of builtin function sinh after validating args.
1.18.0
MathTrig::tanh() Use the tanh method in the MathTrig class instead
mixed | $number | Should be numeric |
Definition at line 1496 of file MathTrig.php.
References PhpOffice\PhpSpreadsheet\Calculation\MathTrig\Trig\Tangent\tanh().
|
static |
CEILING.
Returns number rounded up, away from zero, to the nearest multiple of significance. For example, if you want to avoid using pennies in your prices and your product is priced at $4.42, use the formula =CEILING(4.42,0.05) to round prices up to the nearest nickel.
Excel Function: CEILING(number[,significance])
1.17.0
float | $number | the number you want to round |
float | $significance | the multiple to which you want to round |
Definition at line 108 of file MathTrig.php.
References PhpOffice\PhpSpreadsheet\Calculation\MathTrig\Ceiling\ceiling().
|
static |
COMBIN.
Returns the number of combinations for a given number of items. Use COMBIN to determine the total possible number of groups for a given number of items.
Excel Function: COMBIN(numObjs,numInSet)
1.18.0
int | $numObjs | Number of different objects |
int | $numInSet | Number of objects in each combination |
Definition at line 132 of file MathTrig.php.
References PhpOffice\PhpSpreadsheet\Calculation\MathTrig\Combinations\withoutRepetition().
|
static |
COT.
Returns the cotangent of an angle.
1.18.0
MathTrig::cot() Use the cot method in the MathTrig class instead
float | $angle | Number |
Definition at line 1041 of file MathTrig.php.
References $angle, and PhpOffice\PhpSpreadsheet\Calculation\MathTrig\Trig\Cotangent\cot().
|
static |
COTH.
Returns the hyperbolic cotangent of an angle.
1.18.0
MathTrig::coth() Use the coth method in the MathTrig class instead
float | $angle | Number |
Definition at line 1060 of file MathTrig.php.
References $angle, and PhpOffice\PhpSpreadsheet\Calculation\MathTrig\Trig\Cotangent\coth().
|
static |
CSC.
Returns the cosecant of an angle.
1.18.0
MathTrig::csc() Use the csc method in the MathTrig class instead
float | $angle | Number |
Definition at line 1003 of file MathTrig.php.
References $angle, and PhpOffice\PhpSpreadsheet\Calculation\MathTrig\Trig\Cosecant\csc().
|
static |
CSCH.
Returns the hyperbolic cosecant of an angle.
1.18.0
MathTrig::csch() Use the csch method in the MathTrig class instead
float | $angle | Number |
Definition at line 1022 of file MathTrig.php.
References $angle, and PhpOffice\PhpSpreadsheet\Calculation\MathTrig\Trig\Cosecant\csch().
|
static |
EVEN.
Returns number rounded up to the nearest even integer. You can use this function for processing items that come in twos. For example, a packing crate accepts rows of one or two items. The crate is full when the number of items, rounded up to the nearest two, matches the crate's capacity.
Excel Function: EVEN(number)
1.18.0
float | $number | Number to round |
Definition at line 158 of file MathTrig.php.
References PhpOffice\PhpSpreadsheet\Calculation\MathTrig\Round\even().
|
static |
FACT.
Returns the factorial of a number. The factorial of a number is equal to 1*2*3*...* number.
Excel Function: FACT(factVal)
1.18.0
float | $factVal | Factorial Value |
Definition at line 194 of file MathTrig.php.
References PhpOffice\PhpSpreadsheet\Calculation\MathTrig\Factorial\fact().
|
static |
FACTDOUBLE.
Returns the double factorial of a number.
Excel Function: FACTDOUBLE(factVal)
1.18.0
float | $factVal | Factorial Value |
Definition at line 216 of file MathTrig.php.
References PhpOffice\PhpSpreadsheet\Calculation\MathTrig\Factorial\factDouble().
|
static |
FLOOR.
Rounds number down, toward zero, to the nearest multiple of significance.
Excel Function: FLOOR(number[,significance])
1.17.0
float | $number | Number to round |
float | $significance | Significance |
Definition at line 239 of file MathTrig.php.
References PhpOffice\PhpSpreadsheet\Calculation\MathTrig\Floor\floor().
|
static |
FLOOR.MATH.
Round a number down to the nearest integer or to the nearest multiple of significance.
Excel Function: FLOOR.MATH(number[,significance[,mode]])
1.17.0
float | $number | Number to round |
float | $significance | Significance |
int | $mode | direction to round negative numbers |
Definition at line 263 of file MathTrig.php.
References PhpOffice\PhpSpreadsheet\Calculation\MathTrig\Floor\math().
|
static |
FLOOR.PRECISE.
Rounds number down, toward zero, to the nearest multiple of significance.
Excel Function: FLOOR.PRECISE(number[,significance])
1.17.0
float | $number | Number to round |
float | $significance | Significance |
Definition at line 286 of file MathTrig.php.
References PhpOffice\PhpSpreadsheet\Calculation\MathTrig\Floor\precise().
|
static |
GCD.
Returns the greatest common divisor of a series of numbers. The greatest common divisor is the largest integer that divides both number1 and number2 without a remainder.
Excel Function: GCD(number1[,number2[, ...]])
1.18.0
mixed | ...$args Data values |
Definition at line 332 of file MathTrig.php.
References PhpOffice\PhpSpreadsheet\Calculation\MathTrig\Gcd\evaluate().
|
static |
Helper function for Even.
1.18.0
Definition at line 171 of file MathTrig.php.
References PhpOffice\PhpSpreadsheet\Calculation\MathTrig\Helpers\getEven().
|
static |
INT.
Casts a floating point value to an integer
Excel Function: INT(number)
1.17.0
float | $number | Number to cast to an integer |
Definition at line 308 of file MathTrig.php.
References PhpOffice\PhpSpreadsheet\Calculation\MathTrig\IntClass\evaluate().
|
static |
LCM.
Returns the lowest common multiplier of a series of numbers The least common multiple is the smallest positive integer that is a multiple of all integer arguments number1, number2, and so on. Use LCM to add fractions with different denominators.
Excel Function: LCM(number1[,number2[, ...]])
1.18.0
mixed | ...$args Data values |
Definition at line 357 of file MathTrig.php.
References PhpOffice\PhpSpreadsheet\Calculation\MathTrig\Lcm\evaluate().
|
static |
LOG_BASE.
Returns the logarithm of a number to a specified base. The default base is 10.
Excel Function: LOG(number[,base])
1.18.0
float | $number | The positive real number for which you want the logarithm |
float | $base | The base of the logarithm. If base is omitted, it is assumed to be 10. |
Definition at line 380 of file MathTrig.php.
References $base, and PhpOffice\PhpSpreadsheet\Calculation\MathTrig\Logarithms\withBase().
|
static |
MDETERM.
Returns the matrix determinant of an array.
Excel Function: MDETERM(array)
1.18.0
array | $matrixValues | A matrix of values |
Definition at line 402 of file MathTrig.php.
References PhpOffice\PhpSpreadsheet\Calculation\MathTrig\MatrixFunctions\determinant().
|
static |
MINVERSE.
Returns the inverse matrix for the matrix stored in an array.
Excel Function: MINVERSE(array)
1.18.0
array | $matrixValues | A matrix of values |
Definition at line 424 of file MathTrig.php.
References PhpOffice\PhpSpreadsheet\Calculation\MathTrig\MatrixFunctions\inverse().
|
static |
MMULT.
1.18.0
array | $matrixData1 | A matrix of values |
array | $matrixData2 | A matrix of values |
Definition at line 442 of file MathTrig.php.
References PhpOffice\PhpSpreadsheet\Calculation\MathTrig\MatrixFunctions\multiply().
|
static |
MOD.
1.18.0
int | $a | Dividend |
int | $b | Divisor |
Definition at line 460 of file MathTrig.php.
References PhpOffice\PhpSpreadsheet\Calculation\MathTrig\Operations\mod().
|
static |
MROUND.
Rounds a number to the nearest multiple of a specified value
1.17.0
float | $number | Number to round |
int | $multiple | Multiple to which you want to round $number |
Definition at line 480 of file MathTrig.php.
References PhpOffice\PhpSpreadsheet\Calculation\MathTrig\Round\multiple().
|
static |
MULTINOMIAL.
Returns the ratio of the factorial of a sum of values to the product of factorials.
1.18.0
MathTrig::multinomial() Use the multinomial method in the MathTrig class instead
mixed[] | $args An array of mixed values for the Data Series |
Definition at line 499 of file MathTrig.php.
References PhpOffice\PhpSpreadsheet\Calculation\MathTrig\Factorial\multinomial().
|
static |
Many functions accept null/false/true argument treated as 0/0/1.
1.18.0
MathTrig::validateNumericNullBool() Use the validateNumericNullBool method in the MathTrig class instead
mixed | $number |
Definition at line 1511 of file MathTrig.php.
References PhpOffice\PhpSpreadsheet\Calculation\Functions\flattenSingleValue().
|
static |
Return NAN or value depending on argument.
1.18.0
MathTrig::numberOrNan() Use the numberOrNan method in the MathTrig class instead
float | $result | Number |
Definition at line 1096 of file MathTrig.php.
References $result, and PhpOffice\PhpSpreadsheet\Calculation\MathTrig\Helpers\numberOrNan().
|
static |
ODD.
Returns number rounded up to the nearest odd integer.
1.18.0
MathTrig::odd() Use the odd method in the MathTrig class instead
float | $number | Number to round |
Definition at line 518 of file MathTrig.php.
References PhpOffice\PhpSpreadsheet\Calculation\MathTrig\Round\odd().
|
static |
POWER.
Computes x raised to the power y.
1.18.0
MathTrig::power() Use the evaluate method in the MathTrig class instead
float | $x | |
float | $y |
Definition at line 538 of file MathTrig.php.
References $x, $y, and PhpOffice\PhpSpreadsheet\Calculation\MathTrig\Operations\power().
|
static |
PRODUCT.
PRODUCT returns the product of all the values and cells referenced in the argument list.
1.18.0
MathTrig::product() Use the product method in the MathTrig class instead
Excel Function: PRODUCT(value1[,value2[, ...]])
mixed | ...$args Data values |
Definition at line 560 of file MathTrig.php.
References PhpOffice\PhpSpreadsheet\Calculation\MathTrig\Operations\product().
|
static |
QUOTIENT.
QUOTIENT function returns the integer portion of a division. Numerator is the divided number and denominator is the divisor.
1.18.0
MathTrig::quotient() Use the quotient method in the MathTrig class instead
Excel Function: QUOTIENT(value1[,value2[, ...]])
mixed | $numerator | |
mixed | $denominator |
Definition at line 584 of file MathTrig.php.
References PhpOffice\PhpSpreadsheet\Calculation\MathTrig\Operations\quotient().
|
static |
RAND/RANDBETWEEN.
1.18.0
MathTrig::randBetween() Use the randBetween or randBetween method in the MathTrig class instead
int | $min | Minimal value |
int | $max | Maximal value |
Definition at line 602 of file MathTrig.php.
References PhpOffice\PhpSpreadsheet\Calculation\MathTrig\Random\randBetween().
|
static |
returnSign = returns 0/-1/+1.
1.18.0
MathTrig::returnSign() Use the returnSign method in the MathTrig class instead
Definition at line 717 of file MathTrig.php.
References PhpOffice\PhpSpreadsheet\Calculation\MathTrig\Helpers\returnSign().
|
static |
ROMAN.
Converts a number to Roman numeral
1.17.0
MathTrig::evaluate() Use the evaluate() method in the MathTrig class instead
mixed | $aValue | Number to convert |
mixed | $style | Number indicating one of five possible forms |
Definition at line 622 of file MathTrig.php.
References $style, and PhpOffice\PhpSpreadsheet\Calculation\MathTrig\Roman\evaluate().
|
static |
ROUNDDOWN.
Rounds a number down to a specified number of decimal places
1.17.0
MathTrigdown() Use the down() method in the MathTrig class instead
float | $number | Number to round |
int | $digits | Number of digits to which you want to round $number |
Definition at line 662 of file MathTrig.php.
References PhpOffice\PhpSpreadsheet\Calculation\MathTrig\Round\down().
|
static |
ROUNDUP.
Rounds a number up to a specified number of decimal places
1.17.0
MathTrigup() Use the up() method in the MathTrig class instead
float | $number | Number to round |
int | $digits | Number of digits to which you want to round $number |
Definition at line 642 of file MathTrig.php.
References PhpOffice\PhpSpreadsheet\Calculation\MathTrig\Round\up().
|
static |
SEC.
Returns the secant of an angle.
1.18.0
MathTrig::sec() Use the sec method in the MathTrig class instead
float | $angle | Number |
Definition at line 965 of file MathTrig.php.
References $angle, and PhpOffice\PhpSpreadsheet\Calculation\MathTrig\Trig\Secant\sec().
|
static |
SECH.
Returns the hyperbolic secant of an angle.
1.18.0
MathTrig::sech() Use the sech method in the MathTrig class instead
float | $angle | Number |
Definition at line 984 of file MathTrig.php.
References $angle, and PhpOffice\PhpSpreadsheet\Calculation\MathTrig\Trig\Secant\sech().
|
static |
SERIESSUM.
Returns the sum of a power series
1.18.0
MathTrig::evaluate() Use the evaluate method in the MathTrig class instead
mixed | $x | Input value |
mixed | $n | Initial power |
mixed | $m | Step |
mixed[] | $args An array of coefficients for the Data Series |
Definition at line 684 of file MathTrig.php.
References $m, $n, $x, and PhpOffice\PhpSpreadsheet\Calculation\MathTrig\SeriesSum\evaluate().
|
static |
SIGN.
Determines the sign of a number. Returns 1 if the number is positive, zero (0) if the number is 0, and -1 if the number is negative.
1.18.0
MathTrig::evaluate() Use the evaluate method in the MathTrig class instead
float | $number | Number to round |
Definition at line 704 of file MathTrig.php.
References PhpOffice\PhpSpreadsheet\Calculation\MathTrig\Sign\evaluate().
|
static |
SQRTPI.
Returns the square root of (number * pi).
1.18.0
MathTrig::sqrt() Use the pi method in the MathTrig class instead
float | $number | Number |
Definition at line 736 of file MathTrig.php.
References PhpOffice\PhpSpreadsheet\Calculation\MathTrig\Sqrt\pi().
|
static |
SUBTOTAL.
Returns a subtotal in a list or database.
1.18.0
MathTrig::evaluate() Use the evaluate method in the MathTrig class instead
int | $functionType | A number 1 to 11 that specifies which function to use in calculating subtotals within a range list Numbers 101 to 111 shadow the functions of 1 to 11 but ignore any values in the range that are in hidden rows or columns |
mixed[] | $args A mixed data series of values |
Definition at line 762 of file MathTrig.php.
|
static |
SUM.
SUM computes the sum of all the values and cells referenced in the argument list.
1.18.0
MathTrig::sumErroringStrings() Use the sumErroringStrings method in the MathTrig class instead
Excel Function: SUM(value1[,value2[, ...]])
mixed | ...$args Data values |
Definition at line 784 of file MathTrig.php.
References PhpOffice\PhpSpreadsheet\Calculation\MathTrig\Sum\sumIgnoringStrings().
|
static |
SUMIF.
Totals the values of cells that contain numbers within the list of arguments
Excel Function: SUMIF(range, criteria, [sum_range])
1.17.0
mixed | $range | Data values |
string | $criteria | the criteria that defines which cells will be summed |
mixed | $sumRange |
Definition at line 808 of file MathTrig.php.
References PhpOffice\PhpSpreadsheet\Calculation\Statistical\Conditional\SUMIF().
|
static |
SUMIFS.
Totals the values of cells that contain numbers within the list of arguments
Excel Function: SUMIFS(sum_range, criteria_range1, criteria1, [criteria_range2, criteria2], ...)
1.17.0
mixed | $args | Data values |
Definition at line 830 of file MathTrig.php.
References PhpOffice\PhpSpreadsheet\Calculation\Statistical\Conditional\SUMIFS().
|
static |
SUMPRODUCT.
Excel Function: SUMPRODUCT(value1[,value2[, ...]])
1.18.0
MathTrig::product() Use the product method in the MathTrig class instead
mixed | ...$args Data values |
Definition at line 850 of file MathTrig.php.
References PhpOffice\PhpSpreadsheet\Calculation\MathTrig\Sum\product().
|
static |
SUMSQ.
SUMSQ returns the sum of the squares of the arguments
1.18.0
MathTrig::sumSquare() Use the sumSquare method in the MathTrig class instead
Excel Function: SUMSQ(value1[,value2[, ...]])
mixed | ...$args Data values |
Definition at line 872 of file MathTrig.php.
References PhpOffice\PhpSpreadsheet\Calculation\MathTrig\SumSquares\sumSquare().
|
static |
SUMX2MY2.
1.18.0
MathTrig::sumXSquaredMinusYSquared() Use the sumXSquaredMinusYSquared method in the MathTrig class instead
Definition at line 890 of file MathTrig.php.
References PhpOffice\PhpSpreadsheet\Calculation\MathTrig\SumSquares\sumXSquaredMinusYSquared().
|
static |
SUMX2PY2.
1.18.0
MathTrig::sumXSquaredPlusYSquared() Use the sumXSquaredPlusYSquared method in the MathTrig class instead
Definition at line 908 of file MathTrig.php.
References PhpOffice\PhpSpreadsheet\Calculation\MathTrig\SumSquares\sumXSquaredPlusYSquared().
|
static |
SUMXMY2.
1.18.0
MathTrig::sumXMinusYSquared() Use the sumXMinusYSquared method in the MathTrig class instead
Definition at line 926 of file MathTrig.php.
References PhpOffice\PhpSpreadsheet\Calculation\MathTrig\SumSquares\sumXMinusYSquared().
|
static |
TRUNC.
Truncates value to the number of fractional digits by number_digits.
1.17.0
float | $value | |
int | $digits |
Definition at line 946 of file MathTrig.php.
References PhpOffice\PhpSpreadsheet\Calculation\MathTrig\Trunc\evaluate().