Package | Description |
---|---|
org.apache.hadoop.examples.pi |
This package consists of a map/reduce application,
distbbp,
which computes exact binary digits of the mathematical constant π.
|
org.apache.hadoop.examples.pi.math |
This package provides useful mathematical library classes
for the distbbp program.
|
Modifier and Type | Class and Description |
---|---|
static class |
DistSum.Machine.SummationSplit
Split for the summations
|
class |
SummationWritable
A Writable class for Summation
|
class |
TaskResult
A class for map task results or reduce task results.
|
Modifier and Type | Class and Description |
---|---|
static class |
Bellard.Sum
The sums in the Bellard's formula
|
class |
Summation
Represent the summation \sum \frac{2^e \mod n}{n}.
|
Modifier and Type | Method and Description |
---|---|
static <T extends Container<Summation>> |
Bellard.computePi(long b,
Map<Bellard.Parameter,T> results)
Compute bits of Pi from the results.
|
static <T extends Container<Summation>> |
Bellard.getSums(long b,
int partsPerSum,
Map<Bellard.Parameter,List<T>> existing)
Get the sums for the Bellard formula.
|
<T extends Container<Summation>> |
Summation.remainingTerms(List<T> sorted)
Find the remaining terms.
|
Copyright © 2013 Apache Software Foundation. All rights reserved.