# 3.5.1.1 Basic Math

Name Brief Example
Abs Returns the absolute value of x Example
Ceil Returns a value by adjusting the given value d away from 0 and to the multiple of significance nearest to d. Example
Combina Returns the number of k-combinations (with repetitions) from a given set with n elements. Example
Combine Returns the number of k-combinations from a given set with n elements. Example
Derivative Returns the derivative of the data list in a give vector. Example
DerivativeXY Return the derivative of the curve whose XY coordinates denoted by vector vx and vy. Example
Distance Returns the distance with two points.
Distance3D Returns the distance with two points in 3D.
Exp Returns the exponential value of x.
Expm1 Returns the value of exp(x)-1 accurately for the small values of x. Example
Fact Returns the factorial of a non-negative integer n. Example
FactDouble Returns the double factorial of the specified number. Example
Floor Returns a value by adjusting the given value d towards 0 and to the multiple of significance nearest to d. Example
Frac Returns the fractional part of a number. Example
gcd Returns the greatest common divisor of a group of given integers n1, n2, n3, etc. Example
HaversineDistance Takes the longitudes and latitudes of two points on a sphere with radius r, returns the great-circle distances between them. Example
Imatan Returns the complex value of inverse tangent for complex input number Example
Imatanh Returns the complex value of inverse hyperbolic tangent for complex input number Example
Index Return the row index where x occurs in a strictly monotonic dataset, according to condition defined by ctrl. Example
Int Return the truncated integer of x.
Integral Returns the integral value of the specified integrand. Example
Integrate Returns the cumulative areas as dataset from the integration. Example
IntegrateXY Used to integrate area under curve specified by vectors vx and vy. Missing values will be ignored.
Interp Used to perform 1D interpolation or extrapolation on a group of XY data to find Y at the given X value using 4 alternative methods.
Ln Return the natural logarithm value of x. Example
Ln1p Return the natural logarithm value of x when x is very approaching to 1. Example
Log Return the base 10 logarithm value of x.
Mod Return the integer modulus (the remainder from division) of integer x divided by integer y.
Mod2 Return the integer modulus (the remainder from division) of integer n divided by integer m.
Nint Return value of the nint(x) function is identical to round(x, 0).
Permut Returns the number of k-permutations from a given set with n elements. Example
Permutationa Returns the number of k-permutations (with repetations) from a given set with n elements. Example
Prec Returns a factor. (Quality Control D3 Factor) Example
Product Returns the product of a given set with n elements. Example
Rmod Return a value (or a dataset) such that the numbers contain p places of significance. Example
Rmod2 Return the real modulus (the remainder from division) of real number x divided by real number y. Example
Round Return a value (or a dataset) with p decimal places accuracy.
Sign Return the sign of real number x. It returns 1 if x>0 and returns -1 if x<0; For x=0, zero is returned.
Sqrt Return the square root of x.