Module math

Module math 

Source

Structs§

AbsFunction
ABS function - Absolute value
CeilFunction
CEIL function - Alias for CEILING function
CeilingFunction
CEILING function - Round up to nearest integer
DegreesFunction
DEGREES function - Convert radians to degrees
ExpFunction
EXP function - e raised to the power
FactorialFunction
FACTORIAL function - Calculate factorial of a number
FibonacciFunction
FIBONACCI function - returns the nth Fibonacci number
FloorFunction
FLOOR function - Round down to nearest integer
GeometricFunction
GEOMETRIC function - geometric series sum: a + ar + ar² + … + ar^(n-1)
HarmonicFunction
HARMONIC function - harmonic series sum 1 + 1/2 + 1/3 + … + 1/n
LnFunction
LN function - Natural logarithm
Log10Function
LOG10 function - Base-10 logarithm
LogFunction
LOG function - Logarithm with specified base
ModFunction
MOD function - Modulo operation
PowFunction
POW function - Alias for POWER function
PowerFunction
POWER function - Raise to power
QuotientFunction
QUOTIENT function - Integer division
RadiansFunction
RADIANS function - Convert degrees to radians
RoundFunction
ROUND function - Round to specified decimal places
SqrtFunction
SQRT function - Square root
SumNCubeFunction
SUM_N_CUBE function - sum of cubes from 1 to n
SumNFunction
SUM_N function - Sum of first n natural numbers (triangular number)
SumNSqrFunction
SUM_N_SQR function - sum of squares from 1 to n

Functions§

register_math_functions
Register all math functions