Math Functions - dalefugier/DOSLib GitHub Wiki
dos_abs - Returns the absolute value of a number.
dos_acos - Calculates the arccosine (inverse cosine) of a number.
dos_acosh - Calculate the inverse hyperbolic cosine.
dos_anglebetween - Calculates the angle between two vectors.
dos_asin - Calculates the arcsine (inverse sine) of a number.
dos_asinh - Calculate the inverse hyperbolic sine.
dos_atan - Calculates the arctangent (inverse tangent) of a number.
dos_atan2 - Calculates the arctangent (inverse tangent) of y/x.
dos_atanh - Calculate the inverse hyperbolic tangent.
dos_cbrt - Calculates the cube root.
dos_ceil - Calculates the ceiling of a number.
dos_chgsign - Reverses the sign of a number.
dos_clamp - Clamps, or limits, a number to an interval.
dos_copysign - Returns a number with the sign of another number.
dos_cos - Calculates the cosine of a number.
dos_cosh - Calculate the hyperbolic cosine of a number.
dos_crossproduct - Calculates the cross product of two vectors.
dos_cullnumbers - Culls a list of numbers.
dos_difference - Subtracts numbers, points or vectors.
dos_div - Computes the quotient and the remainder of two integers.
dos_dotproduct - Calculates the dot product of two vectors.
dos_dtr - Converts an angle from degrees to radians.
dos_e - Returns e (mathematical constant).
dos_equal - Compares two numbers, approximately.
dos_exp - Returns e raised to the power of number.
dos_fact - Returns the factorial of a number.
dos_floor - Calculates the floor of a number.
dos_fmod - Calculates the floating-point remainder of x/y.
dos_gcd - Computes the greatest common divisor of two integers.
dos_hypot - Calculates the hypotenuse.
dos_interp - Performs an interpolation between two numbers.
dos_lcm - Computes the least common multiple of two integers.
dos_length - Calculates the length of a vector.
dos_log - Calculates the natural logarithm of a number.
dos_log10 - Calculates the common logarithm (base-10) of a number.
dos_log2 - Calculates the binary logarithm (base-2) of a number.
dos_max - Returns the maximum number from a list of numbers.
dos_mean - Returns the mean, or average, of a list of numbers.
dos_median - Returns the median, or middle, of a list of numbers.
dos_min - Returns the minimum number from a list of numbers.
dos_mode - Returns the mode of a list of numbers.
dos_modf - Splits a floating-point value into integer and fractional parts.
dos_moment - Calculates the moments of a distribution.
dos_negate - Negates a series or a list of numbers.
dos_normalize - Converts a parameter, or value, to a normalized parameter.
dos_orthogonalp - Determines if vectors are orthogonal.
dos_orthonormalp - Determines if vectors are orthonormal.
dos_parallelp - Determines if vectors are parallel.
dos_parameterize - Converts a normalized parameter, or value, to a parameter.
dos_perpendicularp - Determines if vectors are perpendicular.
dos_perpendicularto - Calculates a perpendicular vector.
dos_phi - Returns Phi, the golden ratio.
dos_pi - Returns PI.
dos_pow - Calculates x raised to the power of y.
dos_product - Multiplies numbers, points, or vectors.
dos_quadratic - Find solutions of a quadratic equation.
dos_quotient - Divides numbers, points or vectors.
dos_random - Returns a pseudo-random number.
dos_range - Returns the range of a list of numbers.
dos_righthandp - Determines if vectors are right-handed.
dos_round - Rounds a decimal number to an integer.
dos_rtd - Converts an angle from radians to degrees.
dos_scale - Scales numbers, points or vectors.
dos_sign - Returns a value indicating the sign of a number.
dos_sin - Calculates the sine of a number.
dos_sinh - Calculate the hyperbolic sine of a number.
dos_sortnumbers - Sorts a list of numbers.
dos_sqrt - Calculates the square root.
dos_sum - Returns the sum of a list of numbers.
dos_tan - Calculates the tangent of a number.
dos_tanh - Calculates the hyperbolic tangent of a number.
dos_tinyp - Determines if the length of a vector is very short.
dos_tripleproduct - Returns the triple product of three vectors.
dos_trunc - Truncates a number to a specified number of decimal places.
dos_unitize - Unitizes, or normalizes, a vector.
dos_unitp - Determines if a vector is a unit vector.
dos_vector - Creates a vector from two points.
dos_wedgeproduct - Returns the wedge product of two vectors.
dos_zerop - Determines if a vector is a zero vector.