org.apfloat.samples
Class PiDistributed.DistributedChudnovskyPiCalculator

java.lang.Object
  extended by org.apfloat.samples.PiParallel.ParallelChudnovskyPiCalculator
      extended by org.apfloat.samples.PiDistributed.DistributedChudnovskyPiCalculator
All Implemented Interfaces:
Serializable, Operation<Apfloat>
Enclosing class:
PiDistributed

public static class PiDistributed.DistributedChudnovskyPiCalculator
extends PiParallel.ParallelChudnovskyPiCalculator

Class for calculating pi using the distributed Chudnovskys' binary splitting algorithm.

See Also:
Serialized Form

Constructor Summary
PiDistributed.DistributedChudnovskyPiCalculator(long precision, int radix)
          Construct a pi calculator with the specified precision and radix.
 
Method Summary
 
Methods inherited from class org.apfloat.samples.PiParallel.ParallelChudnovskyPiCalculator
execute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PiDistributed.DistributedChudnovskyPiCalculator

public PiDistributed.DistributedChudnovskyPiCalculator(long precision,
                                                       int radix)
                                                throws ApfloatRuntimeException
Construct a pi calculator with the specified precision and radix.

Parameters:
precision - The target precision.
radix - The radix to be used.
Throws:
ApfloatRuntimeException