Skip to content

Subfunctions

Subfunctions

Group of functions that perform basic mathematical operations: calculation of the gamma function, beta function, factorial, exponential, logarithms with different bases, square root, etc.

They provide the ability to process both individual numeric values (real and integer) and arrays of such values (with output of the results to a separate or the original array).

FunctionDescription
MathRandomNonZeroReturns a random number with a floating point in the range from 0.0 to 1.0.
MathMomentsCalculates the first 4 moments of array elements: mean, variance, skewness, kurtosis.
MathPowIntRaises a number to the specified integer power.
MathFactorialCalculates the factorial of the specified integer.
MathTruncCalculates the integer part of the specified number or array elements.
MathRoundRounds a number or an array of numbers to the specified number of decimal places.
MathArctan2Calculates the angle, the tangent of which is equal to the ratio of the two specified numbers in the range of [-pi, pi].
MathGammaCalculates the value of the gamma function.
MathGammaLogCalculates the logarithm of the gamma function.
MathBetaCalculates the value of the beta function.
MathBetaLogCalculates the logarithm of the beta function.
MathBetaIncompleteCalculates the value of the incomplete beta function.
MathGammaIncompleteCalculates the value of the incomplete gamma function.
MathBinomialCoefficientCalculates the binomial coefficient.
MathBinomialCoefficientLogCalculates the logarithm of the binomial coefficient.
MathHypergeometric2F2Calculates the value of the hypergeometric function.
MathSequenceGenerates a sequence based on values: the first element, the last element, the step of the sequence.
MathSequenceByCountGenerates a sequence based on values: the first element, the last element, the number of elements in the sequence.
MathReplicateGenerates a repeating sequence of values.
MathReverseGenerates an array of values with reverse order of elements.
MathIdenticalCompares two arrays of values and returns true if all elements match.
MathUniqueGenerates an array with unique values only.
MathQuickSortAscendingFunction for sorting in ascending order.
MathQuickSortDescendingFunction for sorting in descending order.
MathQuickSortFunction for sorting.
MathOrderGenerates an array with permutation according to order of the array elements after sorting.
MathBitwiseNotCalculates the result of bitwise NOT operation for array elements.
MathBitwiseAndCalculates the result of bitwise AND operation for elements of arrays.
MathBitwiseOrCalculates the result of bitwise OR operation for elements of arrays.
MathBitwiseXorCalculates the result of bitwise XOR operation for elements of arrays.
MathBitwiseShiftLCalculates the result of bitwise SHL operation for array elements.
MathBitwiseShiftRCalculates the result of bitwise SHR operation for array elements.
MathCumulativeSumGenerates an array with the cumulative sums.
MathCumulativeProductGenerates an array with the cumulative products.
MathCumulativeMinGenerates an array with the cumulative minima.
MathCumulativeMaxGenerates an array with the cumulative maxima.
MathSinCalculates the values of the sin(x) function for array elements.
MathCosCalculates the values of the cos(x) function for array elements.
MathTanCalculates the values of the tan(x) function for array elements.
MathArcsinCalculates the values of the arcsin(x) function for array elements.
MathArccosCalculates the values of the arccos(x) function for array elements.
MathArctanCalculates the values of the arctan(x) function for array elements.
MathSinPiCalculates the values of the sin(pi*x) function for array elements.
MathCosPiCalculates the values of the cos(pi*x) function for array elements.
MathTanPiCalculates the values of the tan(pi*x) function for array elements.
MathAbsCalculates the absolute values of array elements.
MathCeilReturns the nearest larger integers for array elements.
MathFloorReturns the nearest smaller integers for array elements.
MathSqrtCalculates the square roots of array elements.
MathExpCalculates the values of the exp(x) function for array elements.
MathPowCalculates the values of the pow(x, power) function for array elements.
MathLogCalculates the values of the log(x) function for array elements.
MathLog2Calculates the logarithm to the base 2 for the array elements.
MathLog10Calculates the logarithm to the base 10 for the array elements.
MathDifferenceGenerates an array with element differences of y[i]=x[i+lag]-x[i].
MathSampleGenerates a random sample from the array elements.
MathTukeySummaryCalculates the Tukey’s five-number summary for the array elements.
MathRangeCalculates the minima and maxima of array elements.
MathMinReturns the minimum value of all array elements.
MathMaxReturns the maximum value of all array elements.
MathSumReturns the sum of array elements.
MathProductReturns the product of array elements.
MathStandardDeviationCalculates the standard deviation of array elements.
MathAverageDeviationCalculates the average absolute deviation of array elements.
MathMedianCalculates the median value of array elements.
MathMeanCalculates the mean values of array elements.
MathVarianceCalculates the variance of the array elements.
MathSkewnessCalculates the skewness of the array elements.
MathKurtosisCalculates the kurtosis of the array elements.
MathLog1pCalculates the values of the log(1+x) function for array elements.
MathExpm1Calculates the values of the exp(x)-1 function for array elements.
MathSinhCalculates the values of the sinh(x) function for array elements.
MathCoshCalculates the values of the cosh(x) function for array elements.
MathTanhCalculates the values of the tanh(x) function for array elements.
MathArcsinhCalculates the values of the arcsinh(x) function for array elements.
MathArccoshCalculates the values of the arccosh(x) function for array elements.
MathArctanhCalculates the values of the arctanh(x) function for array elements.
MathSignifRounds a value to the specified number of digits in the mantissa.
MathRankCalculates the ranks of array elements.
MathCorrelationPearsonCalculates the Pearson’s correlation coefficient.
MathCorrelationSpearmanCalculates the Spearman’s correlation coefficient.
MathCorrelationKendallCalculates the Kendall’s correlation coefficient.
MathQuantileCalculates sample quantiles corresponding to the specified probabilities.
MathProbabilityDensityEmpiricalCalculates the empirical probability density function for random values.
MathCumulativeDistributionEmpiricalCalculates the empirical cumulative distribution function for random values.
Last updated on