protected static class Pi.BinarySplittingPiCalculator extends Object implements Serializable
| Constructor and Description |
|---|
BinarySplittingPiCalculator(Pi.BinarySplittingSeries series)
Construct a pi calculator with the specified precision and radix.
|
| Modifier and Type | Method and Description |
|---|---|
void |
r(long n1,
long n2,
ApfloatHolder T,
ApfloatHolder Q,
ApfloatHolder P,
Pi.BinarySplittingProgressIndicator progressIndicator)
Entry point for the binary splitting algorithm.
|
public BinarySplittingPiCalculator(Pi.BinarySplittingSeries series)
series - The binary splitting series to be used.public void r(long n1,
long n2,
ApfloatHolder T,
ApfloatHolder Q,
ApfloatHolder P,
Pi.BinarySplittingProgressIndicator progressIndicator)
throws ApfloatRuntimeException
n1 - Start term.n2 - End term.T - Algorithm parameter.Q - Algorithm parameter.P - Algorithm parameter.progressIndicator - Class to print out the progress of the calculation.ApfloatRuntimeExceptionCopyright © 2024. All rights reserved.