Package org.apache.hadoop.examples.pi.math
package org.apache.hadoop.examples.pi.math
This package provides useful mathematical library classes
for the distbbp program.
-
ClassDescriptionorg.apache.hadoop.examples.pi.math.ArithmeticProgressionAn arithmetic progressionorg.apache.hadoop.examples.pi.math.BellardBellard's BBP-type Pi formula 1/2^6 \sum_{n=0}^\infty (-1)^n/2^{10n} (-2^5/(4n+1) -1/(4n+3) +2^8/(10n+1) -2^6/(10n+3) -2^2/(10n+5) -2^2/(10n+7) +1/(10n+9)) References: [1] David H.Parameters for the sumsorg.apache.hadoop.examples.pi.math.Bellard.SumThe sums in the Bellard's formulaorg.apache.hadoop.examples.pi.math.ModularModular arithmeticsorg.apache.hadoop.examples.pi.math.SummationRepresent the summation \sum \frac{2^e \mod n}{n}.