Math involves the manipulation of numbers within a program.
I'm looking for the fastest way to determine if a long value is a perfect square (i.e. its square …
java math optimization perfect-squarePossible Duplicates: Statistics: combinations in Python counting combinations and permutations efficiently Project euler problem in python (problem 53) I'm looking to …
python function mathHow can the following function be implemented in various languages? Calculate the (x,y) point on the circumference of a …
algorithm math trigonometryI had an interesting job interview experience a while back. The question started really easy: Q1: We have a bag …
algorithm mathAre there any functions (as part of a math library) which will calculate mean, median, mode and range from a …
java math probabilityNaturally, for bool isprime(number) there would be a data structure I could query. I define the best algorithm, to …
algorithm math data-structures primesToday I needed a simple algorithm for checking if a number is a power of 2. The algorithm needs to be: …
c# algorithm mathI would like to know the complete expansion of log(a + b). For example log(a * b) = log(a) + log(…
math logarithmIs there an easy way to determine if a point is inside a triangle? It's 2D, not 3D.
algorithm math geometry