Package | Description |
---|---|
org.apfloat.samples |
Sample applications demonstrating apfloat use.
|
Modifier and Type | Class and Description |
---|---|
static class |
Pi.BorweinPiCalculator
Calculates pi using the Borweins' quartic algorithm.
|
static class |
Pi.ChudnovskyPiCalculator
Basic class for calculating pi using the Chudnovskys' binary splitting algorithm.
|
static class |
Pi.GaussLegendrePiCalculator
Calculates pi using the Gauss-Legendre algorithm.
|
static class |
Pi.RamanujanPiCalculator
Basic class for calculating pi using the Ramanujan binary splitting algorithm.
|
static class |
PiDistributed.DistributedChudnovskyPiCalculator
Class for calculating pi using the distributed Chudnovskys' binary splitting algorithm.
|
static class |
PiDistributed.DistributedRamanujanPiCalculator
Class for calculating pi using the distributed Ramanujan's binary splitting algorithm.
|
static class |
PiParallel.ParallelChudnovskyPiCalculator
Class for calculating pi using the parallel Chudnovskys' binary splitting algorithm.
|
static class |
PiParallel.ParallelRamanujanPiCalculator
Class for calculating pi using the parallel Ramanujan's binary splitting algorithm.
|
protected static class |
PiParallel.ThreadLimitedOperation<T>
Class to execute operations while setting
ApfloatContext.setNumberOfProcessors(int)
to some value. |
Modifier and Type | Method and Description |
---|---|
protected Operation<Apfloat> |
PiParallelAWT.getOperation(long precision,
int radix) |
protected Operation<Apfloat> |
PiAWT.getOperation(long precision,
int radix)
Get the calculation operation to execute.
|
Modifier and Type | Method and Description |
---|---|
<T> T |
RemoteOperationExecutor.execute(Operation<T> operation)
Execute an operation remotely.
|
<T> T |
PiDistributed.Node.execute(Operation<T> operation) |
<T> T |
OperationExecutor.execute(Operation<T> operation)
Executes some code, returning a value.
|
<T> T |
LocalOperationExecutor.execute(Operation<T> operation)
Execute an operation immediately.
|
<T> BackgroundOperation<T> |
RemoteOperationExecutor.executeBackground(Operation<T> operation)
Execute an operation remotely.
|
<T> BackgroundOperation<T> |
PiDistributed.Node.executeBackground(Operation<T> operation) |
<T> BackgroundOperation<T> |
OperationExecutor.executeBackground(Operation<T> operation)
Starts executing some code in the background.
|
<T> BackgroundOperation<T> |
LocalOperationExecutor.executeBackground(Operation<T> operation)
Execute an operation in the background.
|
static void |
Pi.run(long precision,
int radix,
Operation<Apfloat> operation)
Execute an operation and display some additional information.
|
Constructor and Description |
---|
BackgroundOperation(Operation<T> operation)
Runs an operation in the background in a separate thread.
|
ThreadLimitedOperation(Operation<T> operation,
int numberOfProcessors)
Wrap an existing operation to a thread limited context.
|
Copyright © 2017. All rights reserved.