Math and Computation

Real-valued Functions

Downloadacos(rad,n)   Returns the arccosine of the given angle for the nth repetition. Downloadasin(rad,n)   Returns the arcsine of the given angle for the nth repetition. Downloadfactor(number)   Returns a ds_list containing the prime factors of the given integer. Downloadfactor_quadratic(b,c)   Returns the factors of any quadratic equation (ax^2+bx+c=0), where a = 1, b and c are integers. Downloadfactorial(number)   Returns the factorial of the given number. Downloadfibonacci(n)   Returns the nth number of the Fibonacci sequence. Downloadgcd(a,b)   Returns the greatest common divisor of the given integers. Downloadis_even(value)   Returns true if the given value is even. Downloadis_odd(value)   Returns true if the given value is odd. Downloadis_factor(divisor,value)   Returns true if the given divisor is a factor of the given value. Downloadis_power(value,base)   Returns true if the given value is a power of the given base. Downloadlcm(a,b)   Returns the least common multiple of the given integers. Downloadround_fixed(number,places)   Returns the given number rounded to the given number of places. Downloadsum_interval(m,n)   Returns the sum of all integers between the given positive integers, inclusive. Downloadtoggle(b)   Returns the given boolean negated.

Comments? Click to Comment