Package | Description |
---|---|
org.apache.hadoop.examples.pi.math |
This package provides useful mathematical library classes
for the distbbp program.
|
Modifier and Type | Method and Description |
---|---|
static Bellard.Parameter |
Bellard.Parameter.get(String s)
Get the Parameter represented by the String
|
static Bellard.Parameter |
Bellard.Parameter.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Bellard.Parameter[] |
Bellard.Parameter.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static <T extends Container<Summation>> |
Bellard.getSums(long b,
int partsPerSum,
Map<Bellard.Parameter,List<T>> existing)
Get the sums for the Bellard formula.
|
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.
|
Copyright © 2013 Apache Software Foundation. All rights reserved.