A B C D E F G H I L M N O P R S T U W Z

A

Apcomplex - class org.apfloat.Apcomplex.
Arbitrary precision complex number class.
Apcomplex() - Constructor for class org.apfloat.Apcomplex
Default constructor.
Apcomplex(Apfloat) - Constructor for class org.apfloat.Apcomplex
Construct a real apcomplex whose imaginary part is zero.
Apcomplex(Apfloat, Apfloat) - Constructor for class org.apfloat.Apcomplex
Construct an apcomplex with the specified real and imaginary part.
Apcomplex(String) - Constructor for class org.apfloat.Apcomplex
Constructs an apcomplex from a string.
Apcomplex(PushbackReader) - Constructor for class org.apfloat.Apcomplex
Reads an apcomplex from a reader.
ApcomplexMath - class org.apfloat.ApcomplexMath.
Various mathematical functions for arbitrary precision complex numbers.
Apfloat - class org.apfloat.Apfloat.
Immutable arbitrary precision floating-point number class.
Apfloat() - Constructor for class org.apfloat.Apfloat
Default constructor.
Apfloat(ApfloatImpl) - Constructor for class org.apfloat.Apfloat
Constructs an apfloat that is backed by the specified ApfloatImpl object.
Apfloat(String) - Constructor for class org.apfloat.Apfloat
Constructs an apfloat from the specified string.
Apfloat(String, long) - Constructor for class org.apfloat.Apfloat
Constructs an apfloat from the specified string and precision.
Apfloat(String, long, int) - Constructor for class org.apfloat.Apfloat
Constructs an apfloat from the specified string, precision and radix.
Apfloat(long) - Constructor for class org.apfloat.Apfloat
Constructs an apfloat from the specified long.
Apfloat(long, long) - Constructor for class org.apfloat.Apfloat
Constructs an apfloat from the specified long and precision.
Apfloat(long, long, int) - Constructor for class org.apfloat.Apfloat
Constructs an apfloat from the specified long, precision and radix.
Apfloat(float) - Constructor for class org.apfloat.Apfloat
Constructs an apfloat from the specified float.
Apfloat(float, long) - Constructor for class org.apfloat.Apfloat
Constructs an apfloat from the specified float and precision.
Apfloat(float, long, int) - Constructor for class org.apfloat.Apfloat
Constructs an apfloat from the specified float, precision and radix.
Apfloat(double) - Constructor for class org.apfloat.Apfloat
Constructs an apfloat from the specified double.
Apfloat(double, long) - Constructor for class org.apfloat.Apfloat
Constructs an apfloat from the specified double and precision.
Apfloat(double, long, int) - Constructor for class org.apfloat.Apfloat
Constructs an apfloat from the specified double, precision and radix.
Apfloat(PushbackReader) - Constructor for class org.apfloat.Apfloat
Reads an apfloat from a stream using default precision and radix.
Apfloat(PushbackReader, long) - Constructor for class org.apfloat.Apfloat
Reads an apfloat from a stream using the specified precision.
Apfloat(PushbackReader, long, int) - Constructor for class org.apfloat.Apfloat
Reads an apfloat from a stream using the specified precision and radix.
Apfloat(BigInteger) - Constructor for class org.apfloat.Apfloat
Constructs an apfloat from a BigInteger.
Apfloat(BigInteger, long) - Constructor for class org.apfloat.Apfloat
Constructs an apfloat from a BigInteger with the specified precision.
Apfloat(BigInteger, long, int) - Constructor for class org.apfloat.Apfloat
Constructs an apfloat from a BigInteger with the specified precision and radix.
Apfloat(BigDecimal) - Constructor for class org.apfloat.Apfloat
Creates an apfloat from a BigDecimal.
Apfloat(BigDecimal, long) - Constructor for class org.apfloat.Apfloat
Creates an apfloat from a BigDecimal.
ApfloatBuilder - interface org.apfloat.spi.ApfloatBuilder.
An ApfloatBuilder contains factory methods to create new instances of ApfloatImpl implementations.
ApfloatContext - class org.apfloat.ApfloatContext.
This class encapsulates the information needed by the apfloat implementation to perform computations.
ApfloatContext(Properties) - Constructor for class org.apfloat.ApfloatContext
Create a new ApfloatContext using the specified properties.
ApfloatHolder - class org.apfloat.samples.ApfloatHolder.
Simple JavaBean to hold one Apfloat.
ApfloatHolder() - Constructor for class org.apfloat.samples.ApfloatHolder
Construct an ApfloatHolder containing null.
ApfloatHolder(Apfloat) - Constructor for class org.apfloat.samples.ApfloatHolder
Construct an ApfloatHolder containing the specified apfloat.
ApfloatImpl - interface org.apfloat.spi.ApfloatImpl.
Interface for apfloat implementations.
ApfloatMath - class org.apfloat.ApfloatMath.
Various mathematical functions for arbitrary precision floating-point numbers.
ApfloatRuntimeException - exception org.apfloat.ApfloatRuntimeException.
Exception indicating some unexpected apfloat implementation specific error situation.
ApfloatRuntimeException() - Constructor for class org.apfloat.ApfloatRuntimeException
Constructs a new apfloat runtime exception with an empty detail message.
ApfloatRuntimeException(String) - Constructor for class org.apfloat.ApfloatRuntimeException
Constructs a new apfloat runtime exception with the specified detail message.
ApfloatRuntimeException(String, Throwable) - Constructor for class org.apfloat.ApfloatRuntimeException
Constructs a new apfloat runtime exception with the specified detail message and cause.
Apint - class org.apfloat.Apint.
Arbitrary precision integer class.
Apint() - Constructor for class org.apfloat.Apint
Default constructor.
Apint(String) - Constructor for class org.apfloat.Apint
Constructs an apfloat from the specified string.
Apint(String, int) - Constructor for class org.apfloat.Apint
Constructs an apfloat from the specified string and radix.
Apint(long) - Constructor for class org.apfloat.Apint
Constructs an apfloat from the specified long.
Apint(long, int) - Constructor for class org.apfloat.Apint
Constructs an apfloat from the specified long and radix.
Apint(PushbackReader) - Constructor for class org.apfloat.Apint
Reads an apint from a stream using the default radix.
Apint(PushbackReader, int) - Constructor for class org.apfloat.Apint
Reads an apint from a stream using the specified radix.
Apint(BigInteger) - Constructor for class org.apfloat.Apint
Constructs an apint from a BigInteger.
Apint(BigInteger, int) - Constructor for class org.apfloat.Apint
Constructs an apint from a BigInteger using the specified radix.
ApintMath - class org.apfloat.ApintMath.
Various mathematical functions for arbitrary precision integers.
Aprational - class org.apfloat.Aprational.
Arbitrary precision rational number class.
Aprational() - Constructor for class org.apfloat.Aprational
Default constructor.
Aprational(Apint) - Constructor for class org.apfloat.Aprational
Construct an integer aprational whose denominator is one.
Aprational(Apint, Apint) - Constructor for class org.apfloat.Aprational
Construct an aprational with the specified numerator and denominator.
Aprational(String) - Constructor for class org.apfloat.Aprational
Constructs an aprational from a string.
Aprational(String, int) - Constructor for class org.apfloat.Aprational
Constructs an aprational from a string with the specified radix.
Aprational(PushbackReader) - Constructor for class org.apfloat.Aprational
Reads an aprational from a reader.
Aprational(PushbackReader, int) - Constructor for class org.apfloat.Aprational
Reads an aprational from a reader.
Aprational(BigInteger) - Constructor for class org.apfloat.Aprational
Constructs an aprational from a BigInteger.
Aprational(BigInteger, int) - Constructor for class org.apfloat.Aprational
Constructs an aprational from a BigInteger using the specified radix.
AprationalMath - class org.apfloat.AprationalMath.
Various mathematical functions for arbitrary precision rational numbers.
ArrayAccess - class org.apfloat.spi.ArrayAccess.
The ArrayAccess class simulates a C language pointer.
ArrayAccess(int, int) - Constructor for class org.apfloat.spi.ArrayAccess
Create an array access.
abs(Apcomplex) - Static method in class org.apfloat.ApcomplexMath
Absolute value.
abs(Apfloat) - Static method in class org.apfloat.ApfloatMath
Absolute value.
abs(Apint) - Static method in class org.apfloat.ApintMath
Absolute value.
abs(Aprational) - Static method in class org.apfloat.AprationalMath
Absolute value.
absCeil() - Method in class org.apfloat.internal.DoubleApfloatImpl
 
absCeil() - Method in class org.apfloat.internal.FloatApfloatImpl
 
absCeil() - Method in class org.apfloat.internal.IntApfloatImpl
 
absCeil() - Method in class org.apfloat.internal.LongApfloatImpl
 
absCeil() - Method in interface org.apfloat.spi.ApfloatImpl
Returns this ApfloatImpl rounded away from zero.
absFloor() - Method in class org.apfloat.internal.DoubleApfloatImpl
 
absFloor() - Method in class org.apfloat.internal.FloatApfloatImpl
 
absFloor() - Method in class org.apfloat.internal.IntApfloatImpl
 
absFloor() - Method in class org.apfloat.internal.LongApfloatImpl
 
absFloor() - Method in interface org.apfloat.spi.ApfloatImpl
Returns this ApfloatImpl rounded towards zero.
acos(Apcomplex) - Static method in class org.apfloat.ApcomplexMath
Inverse cosine.
acos(Apfloat) - Static method in class org.apfloat.ApfloatMath
Inverse cosine.
acosh(Apcomplex) - Static method in class org.apfloat.ApcomplexMath
Inverse hyperbolic cosine.
acosh(Apfloat) - Static method in class org.apfloat.ApfloatMath
Inverse hyperbolic cosine.
add(Apcomplex) - Method in class org.apfloat.Apcomplex
Adds two apcomplex numbers.
add(Apfloat) - Method in class org.apfloat.Apfloat
Adds two apfloats.
add(Apint) - Method in class org.apfloat.Apint
Adds two apints.
add(Aprational) - Method in class org.apfloat.Aprational
Adds two aprational numbers.
add(double[], double[]) - Method in class org.apfloat.internal.DoubleCRTMath
Adds three words.
add(float[], float[]) - Method in class org.apfloat.internal.FloatCRTMath
Adds three words.
add(int[], int[]) - Method in class org.apfloat.internal.IntCRTMath
Adds three words.
add(long[], long[]) - Method in class org.apfloat.internal.LongCRTMath
Adds three words.
addOrSubtract(ApfloatImpl, boolean) - Method in class org.apfloat.internal.DoubleApfloatImpl
 
addOrSubtract(ApfloatImpl, boolean) - Method in class org.apfloat.internal.FloatApfloatImpl
 
addOrSubtract(ApfloatImpl, boolean) - Method in class org.apfloat.internal.IntApfloatImpl
 
addOrSubtract(ApfloatImpl, boolean) - Method in class org.apfloat.internal.LongApfloatImpl
 
addOrSubtract(ApfloatImpl, boolean) - Method in interface org.apfloat.spi.ApfloatImpl
Add or subtract an ApfloatImpl to this object.
agm(Apcomplex, Apcomplex) - Static method in class org.apfloat.ApcomplexMath
Arithmetic-geometric mean.
agm(Apfloat, Apfloat) - Static method in class org.apfloat.ApfloatMath
Arithmetic-geometric mean.
arg(Apcomplex) - Static method in class org.apfloat.ApcomplexMath
Angle of the complex vector in the complex plane.
asin(Apcomplex) - Static method in class org.apfloat.ApcomplexMath
Inverse sine.
asin(Apfloat) - Static method in class org.apfloat.ApfloatMath
Inverse sine.
asinh(Apcomplex) - Static method in class org.apfloat.ApcomplexMath
Inverse hyperbolic sine.
asinh(Apfloat) - Static method in class org.apfloat.ApfloatMath
Inverse hyperbolic sine.
atan(Apcomplex) - Static method in class org.apfloat.ApcomplexMath
Inverse tangent.
atan(Apfloat) - Static method in class org.apfloat.ApfloatMath
Inverse tangent.
atan2(Apfloat, Apfloat) - Static method in class org.apfloat.ApfloatMath
Converts cartesian coordinates to polar coordinates.
atanh(Apcomplex) - Static method in class org.apfloat.ApcomplexMath
Inverse hyperbolic tangent.
atanh(Apfloat) - Static method in class org.apfloat.ApfloatMath
Inverse hyperbolic tangent.

B

BASE - Static variable in interface org.apfloat.internal.DoubleRadixConstants
Bases for radixes 2, ..., 36.
BASE - Static variable in interface org.apfloat.internal.FloatRadixConstants
Bases for radixes 2, ..., 36.
BASE - Static variable in interface org.apfloat.internal.IntRadixConstants
Bases for radixes 2, ..., 36.
BASE - Static variable in interface org.apfloat.internal.LongRadixConstants
Bases for radixes 2, ..., 36.
BASE_DIGITS - Static variable in interface org.apfloat.internal.DoubleRadixConstants
The power of the radix in each base.
BASE_DIGITS - Static variable in interface org.apfloat.internal.FloatRadixConstants
The power of the radix in each base.
BASE_DIGITS - Static variable in interface org.apfloat.internal.IntRadixConstants
The power of the radix in each base.
BASE_DIGITS - Static variable in interface org.apfloat.internal.LongRadixConstants
The power of the radix in each base.
BLOCK_SIZE - Static variable in class org.apfloat.ApfloatContext
Property name for specifying the I/O block size.
BUILDER_FACTORY - Static variable in class org.apfloat.ApfloatContext
Property name for specifying the apfloat builder factory class.
BackgroundOperation - class org.apfloat.samples.BackgroundOperation.
Class for running an Operation in the background in a separate thread.
BackgroundOperation(Operation) - Constructor for class org.apfloat.samples.BackgroundOperation
Runs an operation in the background in a separate thread.
BuilderFactory - interface org.apfloat.spi.BuilderFactory.
A BuilderFactory object contains factory methods for building the various parts of an apfloat using the Builder pattern.
baseAdd(DataStorage.Iterator, DataStorage.Iterator, double, DataStorage.Iterator, long) - Method in class org.apfloat.internal.DoubleBaseMath
Addition in some base.
baseAdd(DataStorage.Iterator, DataStorage.Iterator, float, DataStorage.Iterator, long) - Method in class org.apfloat.internal.FloatBaseMath
Addition in some base.
baseAdd(DataStorage.Iterator, DataStorage.Iterator, int, DataStorage.Iterator, long) - Method in class org.apfloat.internal.IntBaseMath
Addition in some base.
baseAdd(DataStorage.Iterator, DataStorage.Iterator, long, DataStorage.Iterator, long) - Method in class org.apfloat.internal.LongBaseMath
Addition in some base.
baseDivide(DataStorage.Iterator, double, double, DataStorage.Iterator, long) - Method in class org.apfloat.internal.DoubleBaseMath
Division in some base.
baseDivide(DataStorage.Iterator, float, float, DataStorage.Iterator, long) - Method in class org.apfloat.internal.FloatBaseMath
Division in some base.
baseDivide(DataStorage.Iterator, int, int, DataStorage.Iterator, long) - Method in class org.apfloat.internal.IntBaseMath
Division in some base.
baseDivide(DataStorage.Iterator, long, long, DataStorage.Iterator, long) - Method in class org.apfloat.internal.LongBaseMath
Division in some base.
baseMultiplyAdd(DataStorage.Iterator, DataStorage.Iterator, double, double, DataStorage.Iterator, long) - Method in class org.apfloat.internal.DoubleBaseMath
Multiplication and addition in some base.
baseMultiplyAdd(DataStorage.Iterator, DataStorage.Iterator, float, float, DataStorage.Iterator, long) - Method in class org.apfloat.internal.FloatBaseMath
Multiplication and addition in some base.
baseMultiplyAdd(DataStorage.Iterator, DataStorage.Iterator, int, int, DataStorage.Iterator, long) - Method in class org.apfloat.internal.IntBaseMath
Multiplication and addition in some base.
baseMultiplyAdd(DataStorage.Iterator, DataStorage.Iterator, long, long, DataStorage.Iterator, long) - Method in class org.apfloat.internal.LongBaseMath
Multiplication and addition in some base.
baseSubtract(DataStorage.Iterator, DataStorage.Iterator, double, DataStorage.Iterator, long) - Method in class org.apfloat.internal.DoubleBaseMath
Subtraction in some base.
baseSubtract(DataStorage.Iterator, DataStorage.Iterator, float, DataStorage.Iterator, long) - Method in class org.apfloat.internal.FloatBaseMath
Subtraction in some base.
baseSubtract(DataStorage.Iterator, DataStorage.Iterator, int, DataStorage.Iterator, long) - Method in class org.apfloat.internal.IntBaseMath
Subtraction in some base.
baseSubtract(DataStorage.Iterator, DataStorage.Iterator, long, DataStorage.Iterator, long) - Method in class org.apfloat.internal.LongBaseMath
Subtraction in some base.
byteValue() - Method in class org.apfloat.Apcomplex
Returns the value of the this number as a byte.
byteValue() - Method in class org.apfloat.Apfloat
Returns the value of the this number as a byte.

C

CACHE_BURST - Static variable in class org.apfloat.ApfloatContext
Property name for specifying the level 1 cache burst size.
CACHE_L1_SIZE - Static variable in class org.apfloat.ApfloatContext
Property name for specifying the level 1 cache size.
CACHE_L2_SIZE - Static variable in class org.apfloat.ApfloatContext
Property name for specifying the level 2 cache size.
CLEANUP_AT_EXIT - Static variable in class org.apfloat.ApfloatContext
Property name for specifying if clean-up should be done at program exit.
ConvolutionBuilder - interface org.apfloat.spi.ConvolutionBuilder.
Interface of a factory for creating convolutors.
ConvolutionStrategy - interface org.apfloat.spi.ConvolutionStrategy.
Generic convolution strategy.
carryCRT(DataStorage, DataStorage, DataStorage, long) - Method in class org.apfloat.internal.DoubleCarryCRT
Calculate the final result of a three-NTT convolution.
carryCRT(DataStorage, DataStorage, DataStorage, long) - Method in class org.apfloat.internal.FloatCarryCRT
Calculate the final result of a three-NTT convolution.
carryCRT(DataStorage, DataStorage, DataStorage, long) - Method in class org.apfloat.internal.IntCarryCRT
Calculate the final result of a three-NTT convolution.
carryCRT(DataStorage, DataStorage, DataStorage, long) - Method in class org.apfloat.internal.LongCarryCRT
Calculate the final result of a three-NTT convolution.
cbrt(Apcomplex) - Static method in class org.apfloat.ApcomplexMath
Cube root.
cbrt(Apfloat) - Static method in class org.apfloat.ApfloatMath
Cube root.
cbrt(Apint) - Static method in class org.apfloat.ApintMath
Cube root and remainder.
ceil() - Method in class org.apfloat.Apfloat
Ceiling function.
ceil(Apfloat) - Static method in class org.apfloat.ApfloatMath
Ceiling function.
ceil() - Method in class org.apfloat.Apint
Ceiling function.
ceil() - Method in class org.apfloat.Aprational
Ceiling function.
checkAlive() - Static method in class org.apfloat.samples.Pi
Check whether the program should stop executing.
checkGet() - Method in class org.apfloat.spi.DataStorage.AbstractIterator
Checks if any of the get() methods can be called.
checkLength() - Method in class org.apfloat.spi.DataStorage.AbstractIterator
Checks if the iterator is at the end yet.
checkSet() - Method in class org.apfloat.spi.DataStorage.AbstractIterator
Checks if any of the set() methods can be called.
clearThreadContexts() - Static method in class org.apfloat.ApfloatContext
Removes all thread-specific ApfloatContexts.
clone() - Method in class org.apfloat.ApfloatContext
Creates a copy of this object.
close() - Method in class org.apfloat.internal.DoubleMemoryArrayAccess
 
close() - Method in class org.apfloat.internal.FloatMemoryArrayAccess
 
close() - Method in class org.apfloat.internal.IntMemoryArrayAccess
 
close() - Method in class org.apfloat.internal.LongMemoryArrayAccess
 
close() - Method in class org.apfloat.spi.ArrayAccess
Close this array access and commit any changes to the underlying data storage if applicable.
close() - Method in class org.apfloat.spi.DataStorage.Iterator
Closes the iterator.
compare(double[], double[]) - Method in class org.apfloat.internal.DoubleCRTMath
Compares three words.
compare(float[], float[]) - Method in class org.apfloat.internal.FloatCRTMath
Compares three words.
compare(int[], int[]) - Method in class org.apfloat.internal.IntCRTMath
Compares three words.
compare(long[], long[]) - Method in class org.apfloat.internal.LongCRTMath
Compares three words.
compareTo(Apfloat) - Method in class org.apfloat.Apfloat
Compare this apfloat to the specified apfloat.
compareTo(Object) - Method in class org.apfloat.Apfloat
Compare this apfloat to the specified object.
compareTo(Apint) - Method in class org.apfloat.Apint
Compare this apint to the specified apint.
compareTo(Aprational) - Method in class org.apfloat.Apint
Compare this apint to the specified aprational.
compareTo(Apfloat) - Method in class org.apfloat.Apint
Compare this apint to the specified apfloat.
compareTo(Object) - Method in class org.apfloat.Apint
Compare this apint to the specified object.
compareTo(Aprational) - Method in class org.apfloat.Aprational
Compare this aprational to the specified aprational.
compareTo(Apfloat) - Method in class org.apfloat.Aprational
Compare this aprational to the specified apfloat.
compareTo(Object) - Method in class org.apfloat.Aprational
Compare this aprational to the specified object.
compareTo(ApfloatImpl) - Method in class org.apfloat.internal.DoubleApfloatImpl
 
compareTo(ApfloatImpl) - Method in class org.apfloat.internal.FloatApfloatImpl
 
compareTo(ApfloatImpl) - Method in class org.apfloat.internal.IntApfloatImpl
 
compareTo(ApfloatImpl) - Method in class org.apfloat.internal.LongApfloatImpl
 
compareTo(ApfloatImpl) - Method in interface org.apfloat.spi.ApfloatImpl
Compare this ApfloatImpl and another number.
conj() - Method in class org.apfloat.Apcomplex
Returns the complex conjugate of this apcomplex.
convolute(DataStorage, DataStorage, long) - Method in class org.apfloat.internal.Double3NTTConvolutionStrategy
 
convolute(DataStorage, DataStorage, long) - Method in class org.apfloat.internal.DoubleMediumConvolutionStrategy
 
convolute(DataStorage, DataStorage, long) - Method in class org.apfloat.internal.DoubleShortConvolutionStrategy
 
convolute(DataStorage, DataStorage, long) - Method in class org.apfloat.internal.Float3NTTConvolutionStrategy
 
convolute(DataStorage, DataStorage, long) - Method in class org.apfloat.internal.FloatMediumConvolutionStrategy
 
convolute(DataStorage, DataStorage, long) - Method in class org.apfloat.internal.FloatShortConvolutionStrategy
 
convolute(DataStorage, DataStorage, long) - Method in class org.apfloat.internal.Int3NTTConvolutionStrategy
 
convolute(DataStorage, DataStorage, long) - Method in class org.apfloat.internal.IntMediumConvolutionStrategy
 
convolute(DataStorage, DataStorage, long) - Method in class org.apfloat.internal.IntShortConvolutionStrategy
 
convolute(DataStorage, DataStorage, long) - Method in class org.apfloat.internal.Long3NTTConvolutionStrategy
 
convolute(DataStorage, DataStorage, long) - Method in class org.apfloat.internal.LongMediumConvolutionStrategy
 
convolute(DataStorage, DataStorage, long) - Method in class org.apfloat.internal.LongShortConvolutionStrategy
 
convolute(DataStorage, DataStorage, long) - Method in interface org.apfloat.spi.ConvolutionStrategy
Convolutes the two sets of data.
copyFrom(DataStorage) - Method in class org.apfloat.spi.DataStorage
Copies all data from another data storage to this data storage.
copyFrom(DataStorage, long) - Method in class org.apfloat.spi.DataStorage
Copies the specified number of elements from another data storage to this data storage.
cos(Apcomplex) - Static method in class org.apfloat.ApcomplexMath
Cosine.
cos(Apfloat) - Static method in class org.apfloat.ApfloatMath
Cosine.
cosh(Apcomplex) - Static method in class org.apfloat.ApcomplexMath
Hyperbolic cosine.
cosh(Apfloat) - Static method in class org.apfloat.ApfloatMath
Hyperbolic cosine.
createApfloat(String, long, int, boolean) - Method in class org.apfloat.internal.DoubleApfloatBuilder
 
createApfloat(long, long, int) - Method in class org.apfloat.internal.DoubleApfloatBuilder
 
createApfloat(double, long, int) - Method in class org.apfloat.internal.DoubleApfloatBuilder
 
createApfloat(PushbackReader, long, int, boolean) - Method in class org.apfloat.internal.DoubleApfloatBuilder
 
createApfloat(String, long, int, boolean) - Method in class org.apfloat.internal.FloatApfloatBuilder
 
createApfloat(long, long, int) - Method in class org.apfloat.internal.FloatApfloatBuilder
 
createApfloat(double, long, int) - Method in class org.apfloat.internal.FloatApfloatBuilder
 
createApfloat(PushbackReader, long, int, boolean) - Method in class org.apfloat.internal.FloatApfloatBuilder
 
createApfloat(String, long, int, boolean) - Method in class org.apfloat.internal.IntApfloatBuilder
 
createApfloat(long, long, int) - Method in class org.apfloat.internal.IntApfloatBuilder
 
createApfloat(double, long, int) - Method in class org.apfloat.internal.IntApfloatBuilder
 
createApfloat(PushbackReader, long, int, boolean) - Method in class org.apfloat.internal.IntApfloatBuilder
 
createApfloat(String, long, int, boolean) - Method in class org.apfloat.internal.LongApfloatBuilder
 
createApfloat(long, long, int) - Method in class org.apfloat.internal.LongApfloatBuilder
 
createApfloat(double, long, int) - Method in class org.apfloat.internal.LongApfloatBuilder
 
createApfloat(PushbackReader, long, int, boolean) - Method in class org.apfloat.internal.LongApfloatBuilder
 
createApfloat(String, long, int, boolean) - Method in interface org.apfloat.spi.ApfloatBuilder
Create a new ApfloatImpl instance from a String.
createApfloat(long, long, int) - Method in interface org.apfloat.spi.ApfloatBuilder
Create a new ApfloatImpl instance from a long.
createApfloat(double, long, int) - Method in interface org.apfloat.spi.ApfloatBuilder
Create a new ApfloatImpl instance from a double.
createApfloat(PushbackReader, long, int, boolean) - Method in interface org.apfloat.spi.ApfloatBuilder
Create a new ApfloatImpl instance reading from a stream.
createConvolution(int, long, long, long) - Method in class org.apfloat.internal.DoubleConvolutionBuilder
 
createConvolution(int, long, long, long) - Method in class org.apfloat.internal.FloatConvolutionBuilder
 
createConvolution(int, long, long, long) - Method in class org.apfloat.internal.IntConvolutionBuilder
 
createConvolution(int, long, long, long) - Method in class org.apfloat.internal.LongConvolutionBuilder
 
createConvolution(int, long, long, long) - Method in interface org.apfloat.spi.ConvolutionBuilder
Returns a convolution strategy of suitable type for the specified length.
createDataStorage(long) - Method in class org.apfloat.internal.DoubleDataStorageBuilder
 
createDataStorage(long) - Method in class org.apfloat.internal.FloatDataStorageBuilder
 
createDataStorage(long) - Method in class org.apfloat.internal.IntDataStorageBuilder
 
createDataStorage(long) - Method in class org.apfloat.internal.LongDataStorageBuilder
 
createDataStorage(long) - Method in interface org.apfloat.spi.DataStorageBuilder
Get an appropriate type of data storage for the requested size of data.
createNTT(long) - Method in class org.apfloat.internal.DoubleNTTBuilder
 
createNTT(long) - Method in class org.apfloat.internal.FloatNTTBuilder
 
createNTT(long) - Method in class org.apfloat.internal.IntNTTBuilder
 
createNTT(long) - Method in class org.apfloat.internal.LongNTTBuilder
 
createNTT(long) - Method in interface org.apfloat.spi.NTTBuilder
Creates a Number Theoretic Transform of suitable type for the specified length.
createScrambleTable(int) - Static method in class org.apfloat.internal.Scramble
Create a table of indexes for scrambling an array for FFT.
createWTable(double, int) - Method in class org.apfloat.internal.DoubleModMath
Create a table of powers of n:th root of unity.
createWTable(float, int) - Method in class org.apfloat.internal.FloatModMath
Create a table of powers of n:th root of unity.
createWTable(int, int) - Method in class org.apfloat.internal.IntModMath
Create a table of powers of n:th root of unity.
createWTable(long, int) - Method in class org.apfloat.internal.LongModMath
Create a table of powers of n:th root of unity.

D

DEFAULT - Static variable in class org.apfloat.Apcomplex
Default precision.
DEFAULT_RADIX - Static variable in class org.apfloat.ApfloatContext
Property name for specifying the default radix.
DOUBLE_PRECISION - Static variable in interface org.apfloat.spi.RadixConstants
Precision of a double in the digits of each radix.
DataStorage - class org.apfloat.spi.DataStorage.
Generic data storage class.
DataStorage() - Constructor for class org.apfloat.spi.DataStorage
Default constructor.
DataStorage(DataStorage, long, long) - Constructor for class org.apfloat.spi.DataStorage
Subsequence constructor.
DataStorage.AbstractIterator - class org.apfloat.spi.DataStorage.AbstractIterator.
Abstract base class for iterators iterating through this DataStorage.
DataStorage.AbstractIterator(int, long, long) - Constructor for class org.apfloat.spi.DataStorage.AbstractIterator
Construct a new iterator.
DataStorage.Iterator - class org.apfloat.spi.DataStorage.Iterator.
Iterator for iterating through elements of the data storage.
DataStorage.Iterator() - Constructor for class org.apfloat.spi.DataStorage.Iterator
Default constructor.
DataStorageBuilder - interface org.apfloat.spi.DataStorageBuilder.
Interface for determining a suitable storage type for data of some expected size.
DiskDataStorage - class org.apfloat.internal.DiskDataStorage.
Abstract base class for disk-based data storage, containing the common functionality independent of the element type.
DiskDataStorage() - Constructor for class org.apfloat.internal.DiskDataStorage
Default constructor.
DiskDataStorage(DiskDataStorage, long, long) - Constructor for class org.apfloat.internal.DiskDataStorage
Subsequence constructor.
Double3NTTConvolutionStrategy - class org.apfloat.internal.Double3NTTConvolutionStrategy.
Convolution methods in the transform domain for the double type.
Double3NTTConvolutionStrategy(int, NTTStrategy) - Constructor for class org.apfloat.internal.Double3NTTConvolutionStrategy
Creates a new convoluter that uses the specified transform for transforming the data.
DoubleApfloatBuilder - class org.apfloat.internal.DoubleApfloatBuilder.
Builder class for building ApfloatImpl implementations with the double data element type.
DoubleApfloatBuilder() - Constructor for class org.apfloat.internal.DoubleApfloatBuilder
Default constructor.
DoubleApfloatImpl - class org.apfloat.internal.DoubleApfloatImpl.
Immutable apfloat implementation class for the double data element type.
DoubleApfloatImpl(String, long, int, boolean) - Constructor for class org.apfloat.internal.DoubleApfloatImpl
Create a new DoubleApfloatImpl instance from a String.
DoubleApfloatImpl(long, long, int) - Constructor for class org.apfloat.internal.DoubleApfloatImpl
Create a new DoubleApfloatImpl instance from a long.
DoubleApfloatImpl(double, long, int) - Constructor for class org.apfloat.internal.DoubleApfloatImpl
Create a new DoubleApfloatImpl instance from a double.
DoubleApfloatImpl(PushbackReader, long, int, boolean) - Constructor for class org.apfloat.internal.DoubleApfloatImpl
Create a new DoubleApfloatImpl instance reading from a stream.
DoubleBaseMath - class org.apfloat.internal.DoubleBaseMath.
Mathematical operations on numbers in a base.
DoubleBaseMath(int) - Constructor for class org.apfloat.internal.DoubleBaseMath
Creates a base math using the specified radix.
DoubleBuilderFactory - class org.apfloat.internal.DoubleBuilderFactory.
Factory class for getting instances of the various builder classes needed to build an ApfloatImpl with the double data element type.
DoubleBuilderFactory() - Constructor for class org.apfloat.internal.DoubleBuilderFactory
Default constructor.
DoubleCRTMath - class org.apfloat.internal.DoubleCRTMath.
Basic arithmetic for calculating the Chinese Remainder Theorem.
DoubleCRTMath(int) - Constructor for class org.apfloat.internal.DoubleCRTMath
Creates a carry-CRT math using the specified radix.
DoubleCarryCRT - class org.apfloat.internal.DoubleCarryCRT.
Class for performing the final step of a three-modulus Number Theoretic Transform based convolution.
DoubleCarryCRT(int) - Constructor for class org.apfloat.internal.DoubleCarryCRT
Creates a carry-CRT object using the specified radix.
DoubleConvolutionBuilder - class org.apfloat.internal.DoubleConvolutionBuilder.
Creates convolutions of suitable type for the specified length for the double type.
DoubleConvolutionBuilder() - Constructor for class org.apfloat.internal.DoubleConvolutionBuilder
Default constructor.
DoubleDataStorageBuilder - class org.apfloat.internal.DoubleDataStorageBuilder.
Default data storage creation strategy for the double data type.
DoubleDataStorageBuilder() - Constructor for class org.apfloat.internal.DoubleDataStorageBuilder
Default constructor.
DoubleDiskDataStorage - class org.apfloat.internal.DoubleDiskDataStorage.
Disk-based data storage for the double element type.
DoubleDiskDataStorage() - Constructor for class org.apfloat.internal.DoubleDiskDataStorage
Default constructor.
DoubleDiskDataStorage(DoubleDiskDataStorage, long, long) - Constructor for class org.apfloat.internal.DoubleDiskDataStorage
Subsequence constructor.
DoubleElementaryModMath - class org.apfloat.internal.DoubleElementaryModMath.
Elementary modulo arithmetic functions for double data.
DoubleElementaryModMath() - Constructor for class org.apfloat.internal.DoubleElementaryModMath
Default constructor.
DoubleFactor3NTTStrategy - class org.apfloat.internal.DoubleFactor3NTTStrategy.
A transform that implements a 3-point transform on top of another Number Theoretic Transform that does transforms of length 2n.
DoubleFactor3NTTStrategy(NTTStrategy) - Constructor for class org.apfloat.internal.DoubleFactor3NTTStrategy
Creates a new factor-3 transform strategy on top of an existing transform.
DoubleMatrix - class org.apfloat.internal.DoubleMatrix.
Optimized matrix transposition methods for the double type.
DoubleMediumConvolutionStrategy - class org.apfloat.internal.DoubleMediumConvolutionStrategy.
Medium-length convolution strategy.
DoubleMediumConvolutionStrategy(int) - Constructor for class org.apfloat.internal.DoubleMediumConvolutionStrategy
Creates a convolution strategy using the specified radix.
DoubleMemoryArrayAccess - class org.apfloat.internal.DoubleMemoryArrayAccess.
Array access class based on a double[].
DoubleMemoryArrayAccess(double[], int, int) - Constructor for class org.apfloat.internal.DoubleMemoryArrayAccess
Create an array access.
DoubleMemoryDataStorage - class org.apfloat.internal.DoubleMemoryDataStorage.
Memory based data storage implementation for the double element type.
DoubleMemoryDataStorage() - Constructor for class org.apfloat.internal.DoubleMemoryDataStorage
Default constructor.
DoubleMemoryDataStorage(DoubleMemoryDataStorage, long, long) - Constructor for class org.apfloat.internal.DoubleMemoryDataStorage
Subsequence constructor.
DoubleModConstants - interface org.apfloat.internal.DoubleModConstants.
Constants needed for various modular arithmetic operations for the double type.
DoubleModMath - class org.apfloat.internal.DoubleModMath.
Modulo arithmetic functions for double data.
DoubleModMath() - Constructor for class org.apfloat.internal.DoubleModMath
Default constructor.
DoubleNTTBuilder - class org.apfloat.internal.DoubleNTTBuilder.
Creates Number Theoretic Transforms suitable for the specified length and based on available memory, for the double type.
DoubleNTTBuilder() - Constructor for class org.apfloat.internal.DoubleNTTBuilder
Default constructor.
DoubleParallelFNTStrategy - class org.apfloat.internal.DoubleParallelFNTStrategy.
Common methods to calculate Fast Number Theoretic Transforms in parallel using multiple threads.
DoubleParallelFNTStrategy() - Constructor for class org.apfloat.internal.DoubleParallelFNTStrategy
Default constructor.
DoubleRadixConstants - interface org.apfloat.internal.DoubleRadixConstants.
Constants related to different radixes for the double data type.
DoubleScramble - class org.apfloat.internal.DoubleScramble.
Functions to perform bit-reverse ordering of double data.
DoubleShortConvolutionStrategy - class org.apfloat.internal.DoubleShortConvolutionStrategy.
Short convolution strategy.
DoubleShortConvolutionStrategy(int) - Constructor for class org.apfloat.internal.DoubleShortConvolutionStrategy
Creates a convolution strategy using the specified radix.
DoubleSixStepFNTStrategy - class org.apfloat.internal.DoubleSixStepFNTStrategy.
Fast Number Theoretic Transform that uses a "six-step" algorithm to calculate a long transform more efficiently on cache-based memory architectures.
DoubleSixStepFNTStrategy() - Constructor for class org.apfloat.internal.DoubleSixStepFNTStrategy
Default constructor.
DoubleTableFNTStrategy - class org.apfloat.internal.DoubleTableFNTStrategy.
Fast Number Theoretic Transform that uses lookup tables for powers of n:th root of unity and permutation indexes.
DoubleTableFNTStrategy() - Constructor for class org.apfloat.internal.DoubleTableFNTStrategy
Default constructor.
DoubleTwoPassFNTStrategy - class org.apfloat.internal.DoubleTwoPassFNTStrategy.
Fast Number Theoretic Transform that uses a "two-pass" algorithm to calculate a very long transform on data that resides on a mass storage device.
DoubleTwoPassFNTStrategy() - Constructor for class org.apfloat.internal.DoubleTwoPassFNTStrategy
Default constructor.
denominator() - Method in class org.apfloat.Apint
Denominator of this aprational.
denominator() - Method in class org.apfloat.Aprational
Denominator of this aprational.
destroy() - Method in class org.apfloat.samples.PiApplet
Called when this applet is destroyed.
div(Apint, Apint) - Static method in class org.apfloat.ApintMath
Quotient and remainder.
divide(Apcomplex) - Method in class org.apfloat.Apcomplex
Divides two apcomplex numbers.
divide(Apfloat) - Method in class org.apfloat.Apfloat
Divides two apfloats.
divide(Apint) - Method in class org.apfloat.Apint
Divides two apints.
divide(Aprational) - Method in class org.apfloat.Aprational
Divides two aprational numbers.
divide(double[]) - Method in class org.apfloat.internal.DoubleCRTMath
Divides three words by the base to produce two words.
divide(float[]) - Method in class org.apfloat.internal.FloatCRTMath
Divides three words by the base to produce two words.
divide(int[]) - Method in class org.apfloat.internal.IntCRTMath
Divides three words by the base to produce two words.
divide(long[]) - Method in class org.apfloat.internal.LongCRTMath
Divides three words by the base to produce two words.
divideShort(ApfloatImpl) - Method in class org.apfloat.internal.DoubleApfloatImpl
 
divideShort(ApfloatImpl) - Method in class org.apfloat.internal.FloatApfloatImpl
 
divideShort(ApfloatImpl) - Method in class org.apfloat.internal.IntApfloatImpl
 
divideShort(ApfloatImpl) - Method in class org.apfloat.internal.LongApfloatImpl
 
divideShort(ApfloatImpl) - Method in interface org.apfloat.spi.ApfloatImpl
Divide this ApfloatImpl by an ApfloatImpl that is "short".
doubleValue() - Method in class org.apfloat.Apcomplex
Returns the value of the this number as a double.
doubleValue() - Method in class org.apfloat.Apfloat
Returns the value of the this number as a double.
doubleValue() - Method in class org.apfloat.internal.DoubleApfloatImpl
 
doubleValue() - Method in class org.apfloat.internal.FloatApfloatImpl
 
doubleValue() - Method in class org.apfloat.internal.IntApfloatImpl
 
doubleValue() - Method in class org.apfloat.internal.LongApfloatImpl
 
doubleValue() - Method in interface org.apfloat.spi.ApfloatImpl
Returns the value of the this number as a double.

E

equalDigits(Apcomplex) - Method in class org.apfloat.Apcomplex
Computes number of equal digits.
equalDigits(Apfloat) - Method in class org.apfloat.Apfloat
Computes number of equal digits.
equalDigits(ApfloatImpl) - Method in class org.apfloat.internal.DoubleApfloatImpl
 
equalDigits(ApfloatImpl) - Method in class org.apfloat.internal.FloatApfloatImpl
 
equalDigits(ApfloatImpl) - Method in class org.apfloat.internal.IntApfloatImpl
 
equalDigits(ApfloatImpl) - Method in class org.apfloat.internal.LongApfloatImpl
 
equalDigits(ApfloatImpl) - Method in interface org.apfloat.spi.ApfloatImpl
The number of equal digits in this ApfloatImpl and another number.
equals(Object) - Method in class org.apfloat.Apcomplex
Compares this object to the specified object.
equals(Object) - Method in class org.apfloat.Apfloat
Compares this object to the specified object.
equals(Object) - Method in class org.apfloat.Apint
Compares this object to the specified object.
equals(Object) - Method in class org.apfloat.Aprational
Compares this object to the specified object.
equals(Object) - Method in class org.apfloat.internal.DoubleApfloatImpl
Compares this object to the specified object.
equals(Object) - Method in class org.apfloat.internal.FloatApfloatImpl
Compares this object to the specified object.
equals(Object) - Method in class org.apfloat.internal.IntApfloatImpl
Compares this object to the specified object.
equals(Object) - Method in class org.apfloat.internal.LongApfloatImpl
Compares this object to the specified object.
err - Static variable in class org.apfloat.samples.Pi
Output stream for status messages printout.
execute(Operation) - Method in class org.apfloat.samples.LocalOperationExecutor
Execute an operation immediately.
execute() - Method in interface org.apfloat.samples.Operation
Executes some code, returning a value.
execute(Operation) - Method in interface org.apfloat.samples.OperationExecutor
Executes some code, returning a value.
execute() - Method in class org.apfloat.samples.Pi.BorweinPiCalculator
Calculate pi using the Borweins' quartic iteration.
execute() - Method in class org.apfloat.samples.Pi.ChudnovskyPiCalculator
Calculate pi using the Chudnovskys' binary splitting algorithm.
execute() - Method in class org.apfloat.samples.Pi.GaussLegendrePiCalculator
Calculate pi using the Gauss-Legendre iteration.
execute() - Method in class org.apfloat.samples.PiParallel.ParallelPiCalculator
Calculate pi using the Chudnovskys' binary splitting algorithm.
execute() - Method in class org.apfloat.samples.PiParallel.ThreadLimitedOperation
Execute the operation.
execute(Operation) - Method in class org.apfloat.samples.RemoteOperationExecutor
Execute an operation remotely.
executeBackground(Operation) - Method in class org.apfloat.samples.LocalOperationExecutor
Execute an operation in the background.
executeBackground(Operation) - Method in interface org.apfloat.samples.OperationExecutor
Starts executing some code in the background.
executeBackground(Operation) - Method in class org.apfloat.samples.RemoteOperationExecutor
Execute an operation remotely.
exp(Apcomplex) - Static method in class org.apfloat.ApcomplexMath
Exponent function.
exp(Apfloat) - Static method in class org.apfloat.ApfloatMath
Exponent function.

F

FILE_INITIAL_VALUE - Static variable in class org.apfloat.ApfloatContext
Property name for specifying the temporary file initial value.
FILE_PATH - Static variable in class org.apfloat.ApfloatContext
Property name for specifying the temporary file path.
FILE_SUFFIX - Static variable in class org.apfloat.ApfloatContext
Property name for specifying the temporary file suffix.
FLOAT_PRECISION - Static variable in interface org.apfloat.spi.RadixConstants
Precision of a float in the digits of each radix.
FilenameGenerator - class org.apfloat.spi.FilenameGenerator.
Class for generating filenames for temporary files.
FilenameGenerator(String, String, String) - Constructor for class org.apfloat.spi.FilenameGenerator
Create a new filename generator.
Float3NTTConvolutionStrategy - class org.apfloat.internal.Float3NTTConvolutionStrategy.
Convolution methods in the transform domain for the float type.
Float3NTTConvolutionStrategy(int, NTTStrategy) - Constructor for class org.apfloat.internal.Float3NTTConvolutionStrategy
Creates a new convoluter that uses the specified transform for transforming the data.
FloatApfloatBuilder - class org.apfloat.internal.FloatApfloatBuilder.
Builder class for building ApfloatImpl implementations with the float data element type.
FloatApfloatBuilder() - Constructor for class org.apfloat.internal.FloatApfloatBuilder
Default constructor.
FloatApfloatImpl - class org.apfloat.internal.FloatApfloatImpl.
Immutable apfloat implementation class for the float data element type.
FloatApfloatImpl(String, long, int, boolean) - Constructor for class org.apfloat.internal.FloatApfloatImpl
Create a new FloatApfloatImpl instance from a String.
FloatApfloatImpl(long, long, int) - Constructor for class org.apfloat.internal.FloatApfloatImpl
Create a new FloatApfloatImpl instance from a long.
FloatApfloatImpl(double, long, int) - Constructor for class org.apfloat.internal.FloatApfloatImpl
Create a new FloatApfloatImpl instance from a double.
FloatApfloatImpl(PushbackReader, long, int, boolean) - Constructor for class org.apfloat.internal.FloatApfloatImpl
Create a new FloatApfloatImpl instance reading from a stream.
FloatBaseMath - class org.apfloat.internal.FloatBaseMath.
Mathematical operations on numbers in a base.
FloatBaseMath(int) - Constructor for class org.apfloat.internal.FloatBaseMath
Creates a base math using the specified radix.
FloatBuilderFactory - class org.apfloat.internal.FloatBuilderFactory.
Factory class for getting instances of the various builder classes needed to build an ApfloatImpl with the float data element type.
FloatBuilderFactory() - Constructor for class org.apfloat.internal.FloatBuilderFactory
Default constructor.
FloatCRTMath - class org.apfloat.internal.FloatCRTMath.
Basic arithmetic for calculating the Chinese Remainder Theorem.
FloatCRTMath(int) - Constructor for class org.apfloat.internal.FloatCRTMath
Creates a carry-CRT math using the specified radix.
FloatCarryCRT - class org.apfloat.internal.FloatCarryCRT.
Class for performing the final step of a three-modulus Number Theoretic Transform based convolution.
FloatCarryCRT(int) - Constructor for class org.apfloat.internal.FloatCarryCRT
Creates a carry-CRT object using the specified radix.
FloatConvolutionBuilder - class org.apfloat.internal.FloatConvolutionBuilder.
Creates convolutions of suitable type for the specified length for the float type.
FloatConvolutionBuilder() - Constructor for class org.apfloat.internal.FloatConvolutionBuilder
Default constructor.
FloatDataStorageBuilder - class org.apfloat.internal.FloatDataStorageBuilder.
Default data storage creation strategy for the float data type.
FloatDataStorageBuilder() - Constructor for class org.apfloat.internal.FloatDataStorageBuilder
Default constructor.
FloatDiskDataStorage - class org.apfloat.internal.FloatDiskDataStorage.
Disk-based data storage for the float element type.
FloatDiskDataStorage() - Constructor for class org.apfloat.internal.FloatDiskDataStorage
Default constructor.
FloatDiskDataStorage(FloatDiskDataStorage, long, long) - Constructor for class org.apfloat.internal.FloatDiskDataStorage
Subsequence constructor.
FloatElementaryModMath - class org.apfloat.internal.FloatElementaryModMath.
Elementary modulo arithmetic functions for float data.
FloatElementaryModMath() - Constructor for class org.apfloat.internal.FloatElementaryModMath
Default constructor.
FloatFactor3NTTStrategy - class org.apfloat.internal.FloatFactor3NTTStrategy.
A transform that implements a 3-point transform on top of another Number Theoretic Transform that does transforms of length 2n.
FloatFactor3NTTStrategy(NTTStrategy) - Constructor for class org.apfloat.internal.FloatFactor3NTTStrategy
Creates a new factor-3 transform strategy on top of an existing transform.
FloatMatrix - class org.apfloat.internal.FloatMatrix.
Optimized matrix transposition methods for the float type.
FloatMediumConvolutionStrategy - class org.apfloat.internal.FloatMediumConvolutionStrategy.
Medium-length convolution strategy.
FloatMediumConvolutionStrategy(int) - Constructor for class org.apfloat.internal.FloatMediumConvolutionStrategy
Creates a convolution strategy using the specified radix.
FloatMemoryArrayAccess - class org.apfloat.internal.FloatMemoryArrayAccess.
Array access class based on a float[].
FloatMemoryArrayAccess(float[], int, int) - Constructor for class org.apfloat.internal.FloatMemoryArrayAccess
Create an array access.
FloatMemoryDataStorage - class org.apfloat.internal.FloatMemoryDataStorage.
Memory based data storage implementation for the float element type.
FloatMemoryDataStorage() - Constructor for class org.apfloat.internal.FloatMemoryDataStorage
Default constructor.
FloatMemoryDataStorage(FloatMemoryDataStorage, long, long) - Constructor for class org.apfloat.internal.FloatMemoryDataStorage
Subsequence constructor.
FloatModConstants - interface org.apfloat.internal.FloatModConstants.
Constants needed for various modular arithmetic operations for the float type.
FloatModMath - class org.apfloat.internal.FloatModMath.
Modulo arithmetic functions for float data.
FloatModMath() - Constructor for class org.apfloat.internal.FloatModMath
Default constructor.
FloatNTTBuilder - class org.apfloat.internal.FloatNTTBuilder.
Creates Number Theoretic Transforms suitable for the specified length and based on available memory, for the float type.
FloatNTTBuilder() - Constructor for class org.apfloat.internal.FloatNTTBuilder
Default constructor.
FloatParallelFNTStrategy - class org.apfloat.internal.FloatParallelFNTStrategy.
Common methods to calculate Fast Number Theoretic Transforms in parallel using multiple threads.
FloatParallelFNTStrategy() - Constructor for class org.apfloat.internal.FloatParallelFNTStrategy
Default constructor.
FloatRadixConstants - interface org.apfloat.internal.FloatRadixConstants.
Constants related to different radixes for the float data type.
FloatScramble - class org.apfloat.internal.FloatScramble.
Functions to perform bit-reverse ordering of float data.
FloatShortConvolutionStrategy - class org.apfloat.internal.FloatShortConvolutionStrategy.
Short convolution strategy.
FloatShortConvolutionStrategy(int) - Constructor for class org.apfloat.internal.FloatShortConvolutionStrategy
Creates a convolution strategy using the specified radix.
FloatSixStepFNTStrategy - class org.apfloat.internal.FloatSixStepFNTStrategy.
Fast Number Theoretic Transform that uses a "six-step" algorithm to calculate a long transform more efficiently on cache-based memory architectures.
FloatSixStepFNTStrategy() - Constructor for class org.apfloat.internal.FloatSixStepFNTStrategy
Default constructor.
FloatTableFNTStrategy - class org.apfloat.internal.FloatTableFNTStrategy.
Fast Number Theoretic Transform that uses lookup tables for powers of n:th root of unity and permutation indexes.
FloatTableFNTStrategy() - Constructor for class org.apfloat.internal.FloatTableFNTStrategy
Default constructor.
FloatTwoPassFNTStrategy - class org.apfloat.internal.FloatTwoPassFNTStrategy.
Fast Number Theoretic Transform that uses a "two-pass" algorithm to calculate a very long transform on data that resides on a mass storage device.
FloatTwoPassFNTStrategy() - Constructor for class org.apfloat.internal.FloatTwoPassFNTStrategy
Default constructor.
floatValue() - Method in class org.apfloat.Apcomplex
Returns the value of the this number as a float.
floatValue() - Method in class org.apfloat.Apfloat
Returns the value of the this number as a float.
floor() - Method in class org.apfloat.Apfloat
Floor function.
floor(Apfloat) - Static method in class org.apfloat.ApfloatMath
Floor function.
floor() - Method in class org.apfloat.Apint
Floor function.
floor() - Method in class org.apfloat.Aprational
Floor function.
fmod(Apfloat, Apfloat) - Static method in class org.apfloat.ApfloatMath
Returns x modulo y.

G

gcd(Apint, Apint) - Static method in class org.apfloat.ApintMath
Greatest common divisor.
generateFilename() - Method in class org.apfloat.spi.FilenameGenerator
Generate a filename.
getApfloat() - Method in class org.apfloat.samples.ApfloatHolder
Return the apfloat contained in this bean.
getApfloatBuilder() - Method in class org.apfloat.internal.DoubleBuilderFactory
 
getApfloatBuilder() - Method in class org.apfloat.internal.FloatBuilderFactory
 
getApfloatBuilder() - Method in class org.apfloat.internal.IntBuilderFactory
 
getApfloatBuilder() - Method in class org.apfloat.internal.LongBuilderFactory
 
getApfloatBuilder() - Method in interface org.apfloat.spi.BuilderFactory
Returns an ApfloatBuilder object.
getAppletInfo() - Method in class org.apfloat.samples.PiApplet
Get information about this applet.
getArray(int, long, int) - Method in class org.apfloat.spi.DataStorage
Gets an array access to the data of this data storage.
getAttribute(String) - Method in class org.apfloat.ApfloatContext
Get an arbitrary object as an attribute for this ApfloatContext.
getAttributeNames() - Method in class org.apfloat.ApfloatContext
Get names of all attributes for this ApfloatContext.
getBlockSize() - Method in class org.apfloat.ApfloatContext
Get the I/O block size.
getBlockSize() - Static method in class org.apfloat.internal.DiskDataStorage
Convenience method for getting the block size (in bytes) for the current ApfloatContext.
getBuilderFactory() - Method in class org.apfloat.ApfloatContext
Get the BuilderFactory.
getCacheBurst() - Method in class org.apfloat.ApfloatContext
Get the level 1 cache burst size.
getCacheL1Size() - Method in class org.apfloat.ApfloatContext
Get the level 1 cache size.
getCacheL2Size() - Method in class org.apfloat.ApfloatContext
Get the level 2 cache size.
getCleanupAtExit() - Method in class org.apfloat.ApfloatContext
Get if clean-up should be performed at the time the program exits.
getContext() - Static method in class org.apfloat.ApfloatContext
Get the ApfloatContext for the calling thread.
getConvolutionBuilder() - Method in class org.apfloat.internal.DoubleBuilderFactory
 
getConvolutionBuilder() - Method in class org.apfloat.internal.FloatBuilderFactory
 
getConvolutionBuilder() - Method in class org.apfloat.internal.IntBuilderFactory
 
getConvolutionBuilder() - Method in class org.apfloat.internal.LongBuilderFactory
 
getConvolutionBuilder() - Method in interface org.apfloat.spi.BuilderFactory
Returns a ConvolutionBuilder object.
getData() - Method in class org.apfloat.internal.DoubleMemoryArrayAccess
 
getData() - Method in class org.apfloat.internal.FloatMemoryArrayAccess
 
getData() - Method in class org.apfloat.internal.IntMemoryArrayAccess
 
getData() - Method in class org.apfloat.internal.LongMemoryArrayAccess
 
getData() - Method in class org.apfloat.spi.ArrayAccess
Returns the array of this array access.
getDataStorageBuilder() - Method in class org.apfloat.internal.DoubleBuilderFactory
 
getDataStorageBuilder() - Method in class org.apfloat.internal.FloatBuilderFactory
 
getDataStorageBuilder() - Method in class org.apfloat.internal.IntBuilderFactory
 
getDataStorageBuilder() - Method in class org.apfloat.internal.LongBuilderFactory
 
getDataStorageBuilder() - Method in interface org.apfloat.spi.BuilderFactory
Returns a DataStorageBuilder object.
getDefaultRadix() - Method in class org.apfloat.ApfloatContext
Get the default radix.
getDouble() - Method in class org.apfloat.spi.DataStorage.AbstractIterator
 
getDouble() - Method in class org.apfloat.spi.DataStorage.Iterator
Gets the current element as a double.
getDoubleData() - Method in class org.apfloat.internal.DoubleMemoryArrayAccess
 
getDoubleData() - Method in class org.apfloat.spi.ArrayAccess
Returns the array of this array access as a double[].
getErr() - Static method in class org.apfloat.samples.Pi
Get the output stream for status messages printout.
getFileChannel() - Method in class org.apfloat.internal.DiskDataStorage
The FileChannel of the underlying disk file.
getFilename() - Method in class org.apfloat.internal.DiskDataStorage
Filename of the underlying disk data storage.
getFilenameGenerator() - Method in class org.apfloat.ApfloatContext
Get the FilenameGenerator.
getFloat() - Method in class org.apfloat.spi.DataStorage.AbstractIterator
 
getFloat() - Method in class org.apfloat.spi.DataStorage.Iterator
Gets the current element as a float.
getFloatData() - Method in class org.apfloat.internal.FloatMemoryArrayAccess
 
getFloatData() - Method in class org.apfloat.spi.ArrayAccess
Returns the array of this array access as a float[].
getForwardNthRoot(double, long) - Method in class org.apfloat.internal.DoubleModMath
Get forward n:th root of unity.
getForwardNthRoot(float, long) - Method in class org.apfloat.internal.FloatModMath
Get forward n:th root of unity.
getForwardNthRoot(int, long) - Method in class org.apfloat.internal.IntModMath
Get forward n:th root of unity.
getForwardNthRoot(long, long) - Method in class org.apfloat.internal.LongModMath
Get forward n:th root of unity.
getGlobalContext() - Static method in class org.apfloat.ApfloatContext
Get the global ApfloatContext.
getHost() - Method in class org.apfloat.samples.RemoteOperationExecutor
Returns the host name.
getImpl(long) - Method in class org.apfloat.Apfloat
Returns an ApfloatImpl representing the actual instance of this apfloat up to the requested precision.
getImpl(long) - Method in class org.apfloat.Apint
Returns an ApfloatImpl representing this apint up to the requested precision.
getImpl(long) - Method in class org.apfloat.Aprational
Returns an ApfloatImpl representing the approximation of this aprational up to the requested precision.
getIncrement() - Method in class org.apfloat.spi.DataStorage.AbstractIterator
Returns the increment of the iterator.
getInitialValue() - Method in class org.apfloat.spi.FilenameGenerator
Returns the current initial value of the base file names generated.
getInt(String, String, int, int) - Static method in class org.apfloat.samples.Pi
Parse an integer from an argument.
getInt() - Method in class org.apfloat.spi.DataStorage.AbstractIterator
 
getInt() - Method in class org.apfloat.spi.DataStorage.Iterator
Gets the current element as an int.
getIntData() - Method in class org.apfloat.internal.IntMemoryArrayAccess
 
getIntData() - Method in class org.apfloat.spi.ArrayAccess
Returns the array of this array access as an int[].
getInverseNthRoot(double, long) - Method in class org.apfloat.internal.DoubleModMath
Get inverse n:th root of unity.
getInverseNthRoot(float, long) - Method in class org.apfloat.internal.FloatModMath
Get inverse n:th root of unity.
getInverseNthRoot(int, long) - Method in class org.apfloat.internal.IntModMath
Get inverse n:th root of unity.
getInverseNthRoot(long, long) - Method in class org.apfloat.internal.LongModMath
Get inverse n:th root of unity.
getLength() - Method in class org.apfloat.spi.ArrayAccess
Returns the length of the access segment within the backing array.
getLength() - Method in class org.apfloat.spi.DataStorage.AbstractIterator
Returns the remaining length in the iterator.
getLong(String, String, long, long) - Static method in class org.apfloat.samples.Pi
Parse a long from an argument.
getLong() - Method in class org.apfloat.spi.DataStorage.AbstractIterator
 
getLong() - Method in class org.apfloat.spi.DataStorage.Iterator
Gets the current element as a long.
getLongData() - Method in class org.apfloat.internal.LongMemoryArrayAccess
 
getLongData() - Method in class org.apfloat.spi.ArrayAccess
Returns the array of this array access as a long[].
getMaxMemoryBlockSize() - Method in class org.apfloat.ApfloatContext
Get the maximum memory block size.
getMemoryLock(long) - Static method in class org.apfloat.internal.DoubleParallelFNTStrategy
Get an object on which to synchronize data storage access.
getMemoryLock(long) - Static method in class org.apfloat.internal.FloatParallelFNTStrategy
Get an object on which to synchronize data storage access.
getMemoryLock(long) - Static method in class org.apfloat.internal.IntParallelFNTStrategy
Get an object on which to synchronize data storage access.
getMemoryLock(long) - Static method in class org.apfloat.internal.LongParallelFNTStrategy
Get an object on which to synchronize data storage access.
getMemoryTreshold() - Method in class org.apfloat.ApfloatContext
Get the memory treshold.
getMode() - Method in class org.apfloat.spi.DataStorage.AbstractIterator
Returns the mode in which the iterator was created.
getModulus() - Method in class org.apfloat.internal.DoubleElementaryModMath
Get the modulus.
getModulus() - Method in class org.apfloat.internal.FloatElementaryModMath
Get the modulus.
getModulus() - Method in class org.apfloat.internal.IntElementaryModMath
Get the modulus.
getModulus() - Method in class org.apfloat.internal.LongElementaryModMath
Get the modulus.
getNTTBuilder() - Method in class org.apfloat.internal.DoubleBuilderFactory
 
getNTTBuilder() - Method in class org.apfloat.internal.FloatBuilderFactory
 
getNTTBuilder() - Method in class org.apfloat.internal.IntBuilderFactory
 
getNTTBuilder() - Method in class org.apfloat.internal.LongBuilderFactory
 
getNTTBuilder() - Method in interface org.apfloat.spi.BuilderFactory
Returns an NTTBuilder object.
getNodes() - Method in class org.apfloat.samples.PiDistributed.DistributedPiCalculator
Get the available set of operation executor nodes.
getNodes() - Method in class org.apfloat.samples.PiParallel.ParallelPiCalculator
Get the available set of operation executor nodes.
getNumberOfProcessors() - Method in class org.apfloat.ApfloatContext
Get the number of processors.
getOffset() - Method in class org.apfloat.spi.ArrayAccess
Returns the offset of the access segment within the backing array.
getOffset() - Method in class org.apfloat.spi.DataStorage
Return the sub-sequence offset.
getOperation(long, int) - Method in class org.apfloat.samples.PiApplet
Get the calculation operation to execute.
getOperation(long, int) - Method in class org.apfloat.samples.PiParallelApplet
 
getOut() - Static method in class org.apfloat.samples.Pi
Get the output stream for the result printout.
getPath() - Method in class org.apfloat.spi.FilenameGenerator
Returns the path setting of this filename generator.
getPort() - Method in class org.apfloat.samples.RemoteOperationExecutor
Returns the host port.
getPosition() - Method in class org.apfloat.spi.DataStorage.AbstractIterator
Returns the current position of the iterator.
getPrecision(String) - Static method in class org.apfloat.samples.Pi
Parse the precision from an argument.
getProperties() - Method in class org.apfloat.ApfloatContext
Get the values of all properties as strings.
getProperty(String) - Method in class org.apfloat.ApfloatContext
Get the value of a property as string.
getRadix(String) - Static method in class org.apfloat.samples.Pi
Parse the radix from an argument.
getResult() - Method in class org.apfloat.samples.BackgroundOperation
Get the result of the operation.
getSharedMemoryLock() - Method in class org.apfloat.ApfloatContext
Get the shared memory lock object.
getSize() - Method in class org.apfloat.spi.DataStorage
Return the size of the data storage, or the length of this sub-sequence if this data storage is a sub-sequence.
getSuffix() - Method in class org.apfloat.spi.FilenameGenerator
Returns the suffix setting of this filename generator.
getThreadContext() - Static method in class org.apfloat.ApfloatContext
Get the thread-specific ApfloatContext for the calling thread.
getThreadContext(Thread) - Static method in class org.apfloat.ApfloatContext
Get the thread-specific ApfloatContext for the specified thread.
getTransformLength(long) - Method in class org.apfloat.internal.DoubleFactor3NTTStrategy
 
getTransformLength(long) - Method in class org.apfloat.internal.DoubleTableFNTStrategy
 
getTransformLength(long) - Method in class org.apfloat.internal.FloatFactor3NTTStrategy
 
getTransformLength(long) - Method in class org.apfloat.internal.FloatTableFNTStrategy
 
getTransformLength(long) - Method in class org.apfloat.internal.IntFactor3NTTStrategy
 
getTransformLength(long) - Method in class org.apfloat.internal.IntTableFNTStrategy
 
getTransformLength(long) - Method in class org.apfloat.internal.LongFactor3NTTStrategy
 
getTransformLength(long) - Method in class org.apfloat.internal.LongTableFNTStrategy
 
getTransformLength(long) - Method in interface org.apfloat.spi.NTTStrategy
Return the supported transform length for the specified data size.
getTransposedArray(int, int, int, int) - Method in class org.apfloat.spi.DataStorage
Maps a transposed block of data to a memory array.
getUnitSize() - Method in class org.apfloat.internal.DiskDataStorage
Size of the element type, in bytes.
getUnitSize() - Method in class org.apfloat.internal.DoubleDiskDataStorage
 
getUnitSize() - Method in class org.apfloat.internal.FloatDiskDataStorage
 
getUnitSize() - Method in class org.apfloat.internal.IntDiskDataStorage
 
getUnitSize() - Method in class org.apfloat.internal.LongDiskDataStorage
 
getWeight() - Method in class org.apfloat.samples.LocalOperationExecutor
 
getWeight() - Method in interface org.apfloat.samples.OperationExecutor
Returns the relative weight of this executor.
getWeight() - Method in class org.apfloat.samples.RemoteOperationExecutor
 

H

hasNext() - Method in class org.apfloat.spi.DataStorage.AbstractIterator
Check if next() can be called without going past the end of the sequence.
hasNext() - Method in class org.apfloat.spi.DataStorage.Iterator
Check if next() can be called without going past the end of the sequence.
hashCode() - Method in class org.apfloat.Apcomplex
Returns a hash code for this apcomplex.
hashCode() - Method in class org.apfloat.Apfloat
Returns a hash code for this apfloat.
hashCode() - Method in class org.apfloat.Apint
Returns a hash code for this apint.
hashCode() - Method in class org.apfloat.Aprational
Returns a hash code for this aprational.
hashCode() - Method in class org.apfloat.internal.DoubleApfloatImpl
 
hashCode() - Method in class org.apfloat.internal.FloatApfloatImpl
 
hashCode() - Method in class org.apfloat.internal.IntApfloatImpl
 
hashCode() - Method in class org.apfloat.internal.LongApfloatImpl
 
hashCode() - Method in interface org.apfloat.spi.ApfloatImpl
Returns the hash code for this ApfloatImpl.

I

I - Static variable in class org.apfloat.Apcomplex
Imaginary unit.
INFINITE - Static variable in class org.apfloat.Apcomplex
Infinite precision or scale.
Int3NTTConvolutionStrategy - class org.apfloat.internal.Int3NTTConvolutionStrategy.
Convolution methods in the transform domain for the int type.
Int3NTTConvolutionStrategy(int, NTTStrategy) - Constructor for class org.apfloat.internal.Int3NTTConvolutionStrategy
Creates a new convoluter that uses the specified transform for transforming the data.
IntApfloatBuilder - class org.apfloat.internal.IntApfloatBuilder.
Builder class for building ApfloatImpl implementations with the int data element type.
IntApfloatBuilder() - Constructor for class org.apfloat.internal.IntApfloatBuilder
Default constructor.
IntApfloatImpl - class org.apfloat.internal.IntApfloatImpl.
Immutable apfloat implementation class for the int data element type.
IntApfloatImpl(String, long, int, boolean) - Constructor for class org.apfloat.internal.IntApfloatImpl
Create a new IntApfloatImpl instance from a String.
IntApfloatImpl(long, long, int) - Constructor for class org.apfloat.internal.IntApfloatImpl
Create a new IntApfloatImpl instance from a long.
IntApfloatImpl(double, long, int) - Constructor for class org.apfloat.internal.IntApfloatImpl
Create a new IntApfloatImpl instance from a double.
IntApfloatImpl(PushbackReader, long, int, boolean) - Constructor for class org.apfloat.internal.IntApfloatImpl
Create a new IntApfloatImpl instance reading from a stream.
IntBaseMath - class org.apfloat.internal.IntBaseMath.
Mathematical operations on numbers in a base.
IntBaseMath(int) - Constructor for class org.apfloat.internal.IntBaseMath
Creates a base math using the specified radix.
IntBuilderFactory - class org.apfloat.internal.IntBuilderFactory.
Factory class for getting instances of the various builder classes needed to build an ApfloatImpl with the int data element type.
IntBuilderFactory() - Constructor for class org.apfloat.internal.IntBuilderFactory
Default constructor.
IntCRTMath - class org.apfloat.internal.IntCRTMath.
Basic arithmetic for calculating the Chinese Remainder Theorem.
IntCRTMath(int) - Constructor for class org.apfloat.internal.IntCRTMath
Creates a carry-CRT math using the specified radix.
IntCarryCRT - class org.apfloat.internal.IntCarryCRT.
Class for performing the final step of a three-modulus Number Theoretic Transform based convolution.
IntCarryCRT(int) - Constructor for class org.apfloat.internal.IntCarryCRT
Creates a carry-CRT object using the specified radix.
IntConvolutionBuilder - class org.apfloat.internal.IntConvolutionBuilder.
Creates convolutions of suitable type for the specified length for the int type.
IntConvolutionBuilder() - Constructor for class org.apfloat.internal.IntConvolutionBuilder
Default constructor.
IntDataStorageBuilder - class org.apfloat.internal.IntDataStorageBuilder.
Default data storage creation strategy for the int data type.
IntDataStorageBuilder() - Constructor for class org.apfloat.internal.IntDataStorageBuilder
Default constructor.
IntDiskDataStorage - class org.apfloat.internal.IntDiskDataStorage.
Disk-based data storage for the int element type.
IntDiskDataStorage() - Constructor for class org.apfloat.internal.IntDiskDataStorage
Default constructor.
IntDiskDataStorage(IntDiskDataStorage, long, long) - Constructor for class org.apfloat.internal.IntDiskDataStorage
Subsequence constructor.
IntElementaryModMath - class org.apfloat.internal.IntElementaryModMath.
Elementary modulo arithmetic functions for int data.
IntElementaryModMath() - Constructor for class org.apfloat.internal.IntElementaryModMath
Default constructor.
IntFactor3NTTStrategy - class org.apfloat.internal.IntFactor3NTTStrategy.
A transform that implements a 3-point transform on top of another Number Theoretic Transform that does transforms of length 2n.
IntFactor3NTTStrategy(NTTStrategy) - Constructor for class org.apfloat.internal.IntFactor3NTTStrategy
Creates a new factor-3 transform strategy on top of an existing transform.
IntMatrix - class org.apfloat.internal.IntMatrix.
Optimized matrix transposition methods for the int type.
IntMediumConvolutionStrategy - class org.apfloat.internal.IntMediumConvolutionStrategy.
Medium-length convolution strategy.
IntMediumConvolutionStrategy(int) - Constructor for class org.apfloat.internal.IntMediumConvolutionStrategy
Creates a convolution strategy using the specified radix.
IntMemoryArrayAccess - class org.apfloat.internal.IntMemoryArrayAccess.
Array access class based on a int[].
IntMemoryArrayAccess(int[], int, int) - Constructor for class org.apfloat.internal.IntMemoryArrayAccess
Create an array access.
IntMemoryDataStorage - class org.apfloat.internal.IntMemoryDataStorage.
Memory based data storage implementation for the int element type.
IntMemoryDataStorage() - Constructor for class org.apfloat.internal.IntMemoryDataStorage
Default constructor.
IntMemoryDataStorage(IntMemoryDataStorage, long, long) - Constructor for class org.apfloat.internal.IntMemoryDataStorage
Subsequence constructor.
IntModConstants - interface org.apfloat.internal.IntModConstants.
Constants needed for various modular arithmetic operations for the int type.
IntModMath - class org.apfloat.internal.IntModMath.
Modulo arithmetic functions for int data.
IntModMath() - Constructor for class org.apfloat.internal.IntModMath
Default constructor.
IntNTTBuilder - class org.apfloat.internal.IntNTTBuilder.
Creates Number Theoretic Transforms suitable for the specified length and based on available memory, for the int type.
IntNTTBuilder() - Constructor for class org.apfloat.internal.IntNTTBuilder
Default constructor.
IntParallelFNTStrategy - class org.apfloat.internal.IntParallelFNTStrategy.
Common methods to calculate Fast Number Theoretic Transforms in parallel using multiple threads.
IntParallelFNTStrategy() - Constructor for class org.apfloat.internal.IntParallelFNTStrategy
Default constructor.
IntRadixConstants - interface org.apfloat.internal.IntRadixConstants.
Constants related to different radixes for the int data type.
IntScramble - class org.apfloat.internal.IntScramble.
Functions to perform bit-reverse ordering of int data.
IntShortConvolutionStrategy - class org.apfloat.internal.IntShortConvolutionStrategy.
Short convolution strategy.
IntShortConvolutionStrategy(int) - Constructor for class org.apfloat.internal.IntShortConvolutionStrategy
Creates a convolution strategy using the specified radix.
IntSixStepFNTStrategy - class org.apfloat.internal.IntSixStepFNTStrategy.
Fast Number Theoretic Transform that uses a "six-step" algorithm to calculate a long transform more efficiently on cache-based memory architectures.
IntSixStepFNTStrategy() - Constructor for class org.apfloat.internal.IntSixStepFNTStrategy
Default constructor.
IntTableFNTStrategy - class org.apfloat.internal.IntTableFNTStrategy.
Fast Number Theoretic Transform that uses lookup tables for powers of n:th root of unity and permutation indexes.
IntTableFNTStrategy() - Constructor for class org.apfloat.internal.IntTableFNTStrategy
Default constructor.
IntTwoPassFNTStrategy - class org.apfloat.internal.IntTwoPassFNTStrategy.
Fast Number Theoretic Transform that uses a "two-pass" algorithm to calculate a very long transform on data that resides on a mass storage device.
IntTwoPassFNTStrategy() - Constructor for class org.apfloat.internal.IntTwoPassFNTStrategy
Default constructor.
ifFinite(long, long) - Static method in class org.apfloat.spi.Util
Returns the argument y limited to Apfloat.INFINITE.
imag() - Method in class org.apfloat.Apcomplex
Returns the imaginary part of this apcomplex.
imag() - Method in class org.apfloat.Apfloat
Imaginary part of this apfloat.
implCopyFrom(DataStorage, long) - Method in class org.apfloat.internal.DiskDataStorage
 
implCopyFrom(DataStorage, long) - Method in class org.apfloat.internal.DoubleMemoryDataStorage
 
implCopyFrom(DataStorage, long) - Method in class org.apfloat.internal.FloatMemoryDataStorage
 
implCopyFrom(DataStorage, long) - Method in class org.apfloat.internal.IntMemoryDataStorage
 
implCopyFrom(DataStorage, long) - Method in class org.apfloat.internal.LongMemoryDataStorage
 
implCopyFrom(DataStorage, long) - Method in class org.apfloat.spi.DataStorage
Copies the specified number of elements from another data storage to this data storage.
implGetArray(int, long, int) - Method in class org.apfloat.internal.DoubleDiskDataStorage
 
implGetArray(int, long, int) - Method in class org.apfloat.internal.DoubleMemoryDataStorage
 
implGetArray(int, long, int) - Method in class org.apfloat.internal.FloatDiskDataStorage
 
implGetArray(int, long, int) - Method in class org.apfloat.internal.FloatMemoryDataStorage
 
implGetArray(int, long, int) - Method in class org.apfloat.internal.IntDiskDataStorage
 
implGetArray(int, long, int) - Method in class org.apfloat.internal.IntMemoryDataStorage
 
implGetArray(int, long, int) - Method in class org.apfloat.internal.LongDiskDataStorage
 
implGetArray(int, long, int) - Method in class org.apfloat.internal.LongMemoryDataStorage
 
implGetArray(int, long, int) - Method in class org.apfloat.spi.DataStorage
Gets an array access to the data of this data storage.
implGetSize() - Method in class org.apfloat.internal.DiskDataStorage
 
implGetSize() - Method in class org.apfloat.internal.DoubleMemoryDataStorage
 
implGetSize() - Method in class org.apfloat.internal.FloatMemoryDataStorage
 
implGetSize() - Method in class org.apfloat.internal.IntMemoryDataStorage
 
implGetSize() - Method in class org.apfloat.internal.LongMemoryDataStorage
 
implGetSize() - Method in class org.apfloat.spi.DataStorage
Return the size of the whole data storage, not including sub-sequence settings.
implGetTransposedArray(int, int, int, int) - Method in class org.apfloat.internal.DoubleDiskDataStorage
 
implGetTransposedArray(int, int, int, int) - Method in class org.apfloat.internal.DoubleMemoryDataStorage
 
implGetTransposedArray(int, int, int, int) - Method in class org.apfloat.internal.FloatDiskDataStorage
 
implGetTransposedArray(int, int, int, int) - Method in class org.apfloat.internal.FloatMemoryDataStorage
 
implGetTransposedArray(int, int, int, int) - Method in class org.apfloat.internal.IntDiskDataStorage
 
implGetTransposedArray(int, int, int, int) - Method in class org.apfloat.internal.IntMemoryDataStorage
 
implGetTransposedArray(int, int, int, int) - Method in class org.apfloat.internal.LongDiskDataStorage
 
implGetTransposedArray(int, int, int, int) - Method in class org.apfloat.internal.LongMemoryDataStorage
 
implGetTransposedArray(int, int, int, int) - Method in class org.apfloat.spi.DataStorage
Maps a transposed block of data to a memory array.
implSetSize(long) - Method in class org.apfloat.internal.DiskDataStorage
 
implSetSize(long) - Method in class org.apfloat.internal.DoubleMemoryDataStorage
 
implSetSize(long) - Method in class org.apfloat.internal.FloatMemoryDataStorage
 
implSetSize(long) - Method in class org.apfloat.internal.IntMemoryDataStorage
 
implSetSize(long) - Method in class org.apfloat.internal.LongMemoryDataStorage
 
implSetSize(long) - Method in class org.apfloat.spi.DataStorage
Sets the size of the data storage.
implSubsequence(long, long) - Method in class org.apfloat.internal.DoubleDiskDataStorage
 
implSubsequence(long, long) - Method in class org.apfloat.internal.DoubleMemoryDataStorage
 
implSubsequence(long, long) - Method in class org.apfloat.internal.FloatDiskDataStorage
 
implSubsequence(long, long) - Method in class org.apfloat.internal.FloatMemoryDataStorage
 
implSubsequence(long, long) - Method in class org.apfloat.internal.IntDiskDataStorage
 
implSubsequence(long, long) - Method in class org.apfloat.internal.IntMemoryDataStorage
 
implSubsequence(long, long) - Method in class org.apfloat.internal.LongDiskDataStorage
 
implSubsequence(long, long) - Method in class org.apfloat.internal.LongMemoryDataStorage
 
implSubsequence(long, long) - Method in class org.apfloat.spi.DataStorage
Implementation of getting a subsequence of this data storage.
init() - Method in class org.apfloat.samples.PiApplet
Initialize this applet.
initMethod(Container, Object) - Method in class org.apfloat.samples.PiApplet
Initialize the "method" section GUI elements.
initMethod(Container, Object) - Method in class org.apfloat.samples.PiParallelApplet
Initialize the "threads" section GUI elements.
intValue() - Method in class org.apfloat.Apcomplex
Returns the value of the this number as an int.
intValue() - Method in class org.apfloat.Apfloat
Returns the value of the this number as an int.
inverseRoot(Apcomplex, long) - Static method in class org.apfloat.ApcomplexMath
Inverse positive integer root.
inverseRoot(Apfloat, long) - Static method in class org.apfloat.ApfloatMath
Inverse positive integer root.
inverseRoot(Apfloat, long, long) - Static method in class org.apfloat.ApfloatMath
Inverse positive integer root.
inverseRoot(Apfloat, long, long, Apfloat) - Static method in class org.apfloat.ApfloatMath
Inverse positive integer root.
inverseRoot(Apfloat, long, long, Apfloat, long) - Static method in class org.apfloat.ApfloatMath
Inverse positive integer root.
inverseTableFNT(ArrayAccess, double[], int[]) - Method in class org.apfloat.internal.DoubleTableFNTStrategy
Inverse (Cooley-Tukey) fast Number Theoretic Transform.
inverseTableFNT(ArrayAccess, float[], int[]) - Method in class org.apfloat.internal.FloatTableFNTStrategy
Inverse (Cooley-Tukey) fast Number Theoretic Transform.
inverseTableFNT(ArrayAccess, int[], int[]) - Method in class org.apfloat.internal.IntTableFNTStrategy
Inverse (Cooley-Tukey) fast Number Theoretic Transform.
inverseTableFNT(ArrayAccess, long[], int[]) - Method in class org.apfloat.internal.LongTableFNTStrategy
Inverse (Cooley-Tukey) fast Number Theoretic Transform.
inverseTransform(DataStorage, int, long) - Method in class org.apfloat.internal.DoubleFactor3NTTStrategy
 
inverseTransform(DataStorage, int, long) - Method in class org.apfloat.internal.DoubleSixStepFNTStrategy
 
inverseTransform(DataStorage, int, long) - Method in class org.apfloat.internal.DoubleTableFNTStrategy
 
inverseTransform(DataStorage, int, long) - Method in class org.apfloat.internal.DoubleTwoPassFNTStrategy
 
inverseTransform(DataStorage, int, long) - Method in class org.apfloat.internal.FloatFactor3NTTStrategy
 
inverseTransform(DataStorage, int, long) - Method in class org.apfloat.internal.FloatSixStepFNTStrategy
 
inverseTransform(DataStorage, int, long) - Method in class org.apfloat.internal.FloatTableFNTStrategy
 
inverseTransform(DataStorage, int, long) - Method in class org.apfloat.internal.FloatTwoPassFNTStrategy
 
inverseTransform(DataStorage, int, long) - Method in class org.apfloat.internal.IntFactor3NTTStrategy
 
inverseTransform(DataStorage, int, long) - Method in class org.apfloat.internal.IntSixStepFNTStrategy
 
inverseTransform(DataStorage, int, long) - Method in class org.apfloat.internal.IntTableFNTStrategy
 
inverseTransform(DataStorage, int, long) - Method in class org.apfloat.internal.IntTwoPassFNTStrategy
 
inverseTransform(DataStorage, int, long) - Method in class org.apfloat.internal.LongFactor3NTTStrategy
 
inverseTransform(DataStorage, int, long) - Method in class org.apfloat.internal.LongSixStepFNTStrategy
 
inverseTransform(DataStorage, int, long) - Method in class org.apfloat.internal.LongTableFNTStrategy
 
inverseTransform(DataStorage, int, long) - Method in class org.apfloat.internal.LongTwoPassFNTStrategy
 
inverseTransform(DataStorage, int, long) - Method in interface org.apfloat.spi.NTTStrategy
Perform an inverse transform on the data.
isFinished() - Method in class org.apfloat.samples.BackgroundOperation
Check if the operation has been completed.
isInputValid() - Method in class org.apfloat.samples.PiApplet
Validates the input fields.
isInputValid() - Method in class org.apfloat.samples.PiParallelApplet
 
isOne() - Method in class org.apfloat.internal.DoubleApfloatImpl
 
isOne() - Method in class org.apfloat.internal.FloatApfloatImpl
 
isOne() - Method in class org.apfloat.internal.IntApfloatImpl
 
isOne() - Method in class org.apfloat.internal.LongApfloatImpl
 
isOne() - Method in interface org.apfloat.spi.ApfloatImpl
Tests if this number is equal to 1.
isReadOnly() - Method in class org.apfloat.spi.DataStorage
Returns the read-only state of this data storage.
isShort() - Method in class org.apfloat.Apfloat
Returns if this apfloat is "short".
isShort() - Method in class org.apfloat.Apint
Returns if this apint is "short".
isShort() - Method in class org.apfloat.Aprational
Returns if this aprational is "short".
isShort() - Method in class org.apfloat.internal.DoubleApfloatImpl
 
isShort() - Method in class org.apfloat.internal.FloatApfloatImpl
 
isShort() - Method in class org.apfloat.internal.IntApfloatImpl
 
isShort() - Method in class org.apfloat.internal.LongApfloatImpl
 
isShort() - Method in interface org.apfloat.spi.ApfloatImpl
Returns if this ApfloatImpl is "short".
isSubsequenced() - Method in class org.apfloat.spi.DataStorage
Is this object a subsequence of some other object, or do subsequences of this object exist.
iterator(int, long, long) - Method in class org.apfloat.internal.DoubleDiskDataStorage
 
iterator(int, long, long) - Method in class org.apfloat.internal.DoubleMemoryDataStorage
 
iterator(int, long, long) - Method in class org.apfloat.internal.FloatDiskDataStorage
 
iterator(int, long, long) - Method in class org.apfloat.internal.FloatMemoryDataStorage
 
iterator(int, long, long) - Method in class org.apfloat.internal.IntDiskDataStorage
 
iterator(int, long, long) - Method in class org.apfloat.internal.IntMemoryDataStorage
 
iterator(int, long, long) - Method in class org.apfloat.internal.LongDiskDataStorage
 
iterator(int, long, long) - Method in class org.apfloat.internal.LongMemoryDataStorage
 
iterator(int, long, long) - Method in class org.apfloat.spi.DataStorage
Constructs a new iterator.

L

LONG_PRECISION - Static variable in interface org.apfloat.spi.RadixConstants
Precision of a long in the digits of each radix.
LocalOperationExecutor - class org.apfloat.samples.LocalOperationExecutor.
Class to execute Operations locally.
LocalOperationExecutor() - Constructor for class org.apfloat.samples.LocalOperationExecutor
Default constructor.
Long3NTTConvolutionStrategy - class org.apfloat.internal.Long3NTTConvolutionStrategy.
Convolution methods in the transform domain for the long type.
Long3NTTConvolutionStrategy(int, NTTStrategy) - Constructor for class org.apfloat.internal.Long3NTTConvolutionStrategy
Creates a new convoluter that uses the specified transform for transforming the data.
LongApfloatBuilder - class org.apfloat.internal.LongApfloatBuilder.
Builder class for building ApfloatImpl implementations with the long data element type.
LongApfloatBuilder() - Constructor for class org.apfloat.internal.LongApfloatBuilder
Default constructor.
LongApfloatImpl - class org.apfloat.internal.LongApfloatImpl.
Immutable apfloat implementation class for the long data element type.
LongApfloatImpl(String, long, int, boolean) - Constructor for class org.apfloat.internal.LongApfloatImpl
Create a new LongApfloatImpl instance from a String.
LongApfloatImpl(long, long, int) - Constructor for class org.apfloat.internal.LongApfloatImpl
Create a new LongApfloatImpl instance from a long.
LongApfloatImpl(double, long, int) - Constructor for class org.apfloat.internal.LongApfloatImpl
Create a new LongApfloatImpl instance from a double.
LongApfloatImpl(PushbackReader, long, int, boolean) - Constructor for class org.apfloat.internal.LongApfloatImpl
Create a new LongApfloatImpl instance reading from a stream.
LongBaseMath - class org.apfloat.internal.LongBaseMath.
Mathematical operations on numbers in a base.
LongBaseMath(int) - Constructor for class org.apfloat.internal.LongBaseMath
Creates a base math using the specified radix.
LongBuilderFactory - class org.apfloat.internal.LongBuilderFactory.
Factory class for getting instances of the various builder classes needed to build an ApfloatImpl with the long data element type.
LongBuilderFactory() - Constructor for class org.apfloat.internal.LongBuilderFactory
Default constructor.
LongCRTMath - class org.apfloat.internal.LongCRTMath.
Basic arithmetic for calculating the Chinese Remainder Theorem.
LongCRTMath(int) - Constructor for class org.apfloat.internal.LongCRTMath
Creates a carry-CRT math using the specified radix.
LongCarryCRT - class org.apfloat.internal.LongCarryCRT.
Class for performing the final step of a three-modulus Number Theoretic Transform based convolution.
LongCarryCRT(int) - Constructor for class org.apfloat.internal.LongCarryCRT
Creates a carry-CRT object using the specified radix.
LongConvolutionBuilder - class org.apfloat.internal.LongConvolutionBuilder.
Creates convolutions of suitable type for the specified length for the long type.
LongConvolutionBuilder() - Constructor for class org.apfloat.internal.LongConvolutionBuilder
Default constructor.
LongDataStorageBuilder - class org.apfloat.internal.LongDataStorageBuilder.
Default data storage creation strategy for the long data type.
LongDataStorageBuilder() - Constructor for class org.apfloat.internal.LongDataStorageBuilder
Default constructor.
LongDiskDataStorage - class org.apfloat.internal.LongDiskDataStorage.
Disk-based data storage for the long element type.
LongDiskDataStorage() - Constructor for class org.apfloat.internal.LongDiskDataStorage
Default constructor.
LongDiskDataStorage(LongDiskDataStorage, long, long) - Constructor for class org.apfloat.internal.LongDiskDataStorage
Subsequence constructor.
LongElementaryModMath - class org.apfloat.internal.LongElementaryModMath.
Elementary modulo arithmetic functions for long data.
LongElementaryModMath() - Constructor for class org.apfloat.internal.LongElementaryModMath
Default constructor.
LongFactor3NTTStrategy - class org.apfloat.internal.LongFactor3NTTStrategy.
A transform that implements a 3-point transform on top of another Number Theoretic Transform that does transforms of length 2n.
LongFactor3NTTStrategy(NTTStrategy) - Constructor for class org.apfloat.internal.LongFactor3NTTStrategy
Creates a new factor-3 transform strategy on top of an existing transform.
LongMatrix - class org.apfloat.internal.LongMatrix.
Optimized matrix transposition methods for the long type.
LongMediumConvolutionStrategy - class org.apfloat.internal.LongMediumConvolutionStrategy.
Medium-length convolution strategy.
LongMediumConvolutionStrategy(int) - Constructor for class org.apfloat.internal.LongMediumConvolutionStrategy
Creates a convolution strategy using the specified radix.
LongMemoryArrayAccess - class org.apfloat.internal.LongMemoryArrayAccess.
Array access class based on a long[].
LongMemoryArrayAccess(long[], int, int) - Constructor for class org.apfloat.internal.LongMemoryArrayAccess
Create an array access.
LongMemoryDataStorage - class org.apfloat.internal.LongMemoryDataStorage.
Memory based data storage implementation for the long element type.
LongMemoryDataStorage() - Constructor for class org.apfloat.internal.LongMemoryDataStorage
Default constructor.
LongMemoryDataStorage(LongMemoryDataStorage, long, long) - Constructor for class org.apfloat.internal.LongMemoryDataStorage
Subsequence constructor.
LongModConstants - interface org.apfloat.internal.LongModConstants.
Constants needed for various modular arithmetic operations for the long type.
LongModMath - class org.apfloat.internal.LongModMath.
Modulo arithmetic functions for long data.
LongModMath() - Constructor for class org.apfloat.internal.LongModMath
Default constructor.
LongNTTBuilder - class org.apfloat.internal.LongNTTBuilder.
Creates Number Theoretic Transforms suitable for the specified length and based on available memory, for the long type.
LongNTTBuilder() - Constructor for class org.apfloat.internal.LongNTTBuilder
Default constructor.
LongParallelFNTStrategy - class org.apfloat.internal.LongParallelFNTStrategy.
Common methods to calculate Fast Number Theoretic Transforms in parallel using multiple threads.
LongParallelFNTStrategy() - Constructor for class org.apfloat.internal.LongParallelFNTStrategy
Default constructor.
LongRadixConstants - interface org.apfloat.internal.LongRadixConstants.
Constants related to different radixes for the long data type.
LongScramble - class org.apfloat.internal.LongScramble.
Functions to perform bit-reverse ordering of long data.
LongShortConvolutionStrategy - class org.apfloat.internal.LongShortConvolutionStrategy.
Short convolution strategy.
LongShortConvolutionStrategy(int) - Constructor for class org.apfloat.internal.LongShortConvolutionStrategy
Creates a convolution strategy using the specified radix.
LongSixStepFNTStrategy - class org.apfloat.internal.LongSixStepFNTStrategy.
Fast Number Theoretic Transform that uses a "six-step" algorithm to calculate a long transform more efficiently on cache-based memory architectures.
LongSixStepFNTStrategy() - Constructor for class org.apfloat.internal.LongSixStepFNTStrategy
Default constructor.
LongTableFNTStrategy - class org.apfloat.internal.LongTableFNTStrategy.
Fast Number Theoretic Transform that uses lookup tables for powers of n:th root of unity and permutation indexes.
LongTableFNTStrategy() - Constructor for class org.apfloat.internal.LongTableFNTStrategy
Default constructor.
LongTwoPassFNTStrategy - class org.apfloat.internal.LongTwoPassFNTStrategy.
Fast Number Theoretic Transform that uses a "two-pass" algorithm to calculate a very long transform on data that resides on a mass storage device.
LongTwoPassFNTStrategy() - Constructor for class org.apfloat.internal.LongTwoPassFNTStrategy
Default constructor.
lcm(Apint, Apint) - Static method in class org.apfloat.ApintMath
Least common multiple.
loadProperties() - Static method in class org.apfloat.ApfloatContext
Loads properties from a properties file or resource bundle.
log(Apcomplex) - Static method in class org.apfloat.ApcomplexMath
Natural logarithm.
log(Apfloat) - Static method in class org.apfloat.ApfloatMath
Natural logarithm.
log2down(int) - Static method in class org.apfloat.spi.Util
Base-2 logarithm rounded down to nearest power of two.
log2down(long) - Static method in class org.apfloat.spi.Util
Base-2 logarithm rounded down to nearest power of two.
logRadix(long, int) - Static method in class org.apfloat.ApfloatMath
Gets or calculates logarithm of a radix to required precision.
longValue() - Method in class org.apfloat.Apcomplex
Returns the value of the this number as a long.
longValue() - Method in class org.apfloat.Apfloat
Returns the value of the this number as a long.
longValue() - Method in class org.apfloat.internal.DoubleApfloatImpl
 
longValue() - Method in class org.apfloat.internal.FloatApfloatImpl
 
longValue() - Method in class org.apfloat.internal.IntApfloatImpl
 
longValue() - Method in class org.apfloat.internal.LongApfloatImpl
 
longValue() - Method in interface org.apfloat.spi.ApfloatImpl
Returns the value of the this number as a long.

M

MAX_EXPONENT - Static variable in interface org.apfloat.internal.DoubleRadixConstants
Maximum allowed exponent for each radix.
MAX_EXPONENT - Static variable in interface org.apfloat.internal.FloatRadixConstants
Maximum allowed exponent for each radix.
MAX_EXPONENT - Static variable in interface org.apfloat.internal.IntRadixConstants
Maximum allowed exponent for each radix.
MAX_EXPONENT - Static variable in interface org.apfloat.internal.LongRadixConstants
Maximum allowed exponent for each radix.
MAX_MEMORY_BLOCK_SIZE - Static variable in class org.apfloat.ApfloatContext
Property name for specifying the maximum memory block size.
MAX_POWER_OF_TWO_BASE - Static variable in interface org.apfloat.internal.DoubleModConstants
Maximum power-of-two base that fits in a double.
MAX_POWER_OF_TWO_BASE - Static variable in interface org.apfloat.internal.FloatModConstants
Maximum power-of-two base that fits in a float.
MAX_POWER_OF_TWO_BASE - Static variable in interface org.apfloat.internal.IntModConstants
Maximum power-of-two base that fits in an int.
MAX_POWER_OF_TWO_BASE - Static variable in interface org.apfloat.internal.LongModConstants
Maximum power-of-two base that fits in a long.
MAX_POWER_OF_TWO_BITS - Static variable in interface org.apfloat.internal.DoubleModConstants
Maximum bits in a power-of-two base that fits in a double.
MAX_POWER_OF_TWO_BITS - Static variable in interface org.apfloat.internal.FloatModConstants
Maximum bits in a power-of-two base that fits in a float.
MAX_POWER_OF_TWO_BITS - Static variable in interface org.apfloat.internal.IntModConstants
Maximum bits in a power-of-two base that fits in an int.
MAX_POWER_OF_TWO_BITS - Static variable in interface org.apfloat.internal.LongModConstants
Maximum bits in a power-of-two base that fits in a long.
MAX_TRANSFORM_LENGTH - Static variable in interface org.apfloat.internal.DoubleModConstants
Maximum transform length for the moduli.
MAX_TRANSFORM_LENGTH - Static variable in interface org.apfloat.internal.FloatModConstants
Maximum transform length for the moduli.
MAX_TRANSFORM_LENGTH - Static variable in interface org.apfloat.internal.IntModConstants
Maximum transform length for the moduli.
MAX_TRANSFORM_LENGTH - Static variable in interface org.apfloat.internal.LongModConstants
Maximum transform length for the moduli.
MEMORY_TRESHOLD - Static variable in class org.apfloat.ApfloatContext
Property name for specifying the apfloat memory treshold.
MINIMUM_FOR_DIGITS - Static variable in interface org.apfloat.internal.DoubleRadixConstants
The minimum number in each radix to have the specified amount of digits.
MINIMUM_FOR_DIGITS - Static variable in interface org.apfloat.internal.FloatRadixConstants
The minimum number in each radix to have the specified amount of digits.
MINIMUM_FOR_DIGITS - Static variable in interface org.apfloat.internal.IntRadixConstants
The minimum number in each radix to have the specified amount of digits.
MINIMUM_FOR_DIGITS - Static variable in interface org.apfloat.internal.LongRadixConstants
The minimum number in each radix to have the specified amount of digits.
MODULUS - Static variable in interface org.apfloat.internal.DoubleModConstants
Moduli to be used in number theoretic transforms.
MODULUS - Static variable in interface org.apfloat.internal.FloatModConstants
Moduli to be used in number theoretic transforms.
MODULUS - Static variable in interface org.apfloat.internal.IntModConstants
Moduli to be used in number theoretic transforms.
MODULUS - Static variable in interface org.apfloat.internal.LongModConstants
Moduli to be used in number theoretic transforms.
main(String[]) - Static method in class org.apfloat.samples.OperationServer
Command-line entry point.
main(String[]) - Static method in class org.apfloat.samples.Pi
Command-line entry point.
main(String[]) - Static method in class org.apfloat.samples.PiDistributed
Command-line entry point.
main(String[]) - Static method in class org.apfloat.samples.PiParallel
Command-line entry point.
mod(Apint) - Method in class org.apfloat.Apint
Calculates the remainder when divided by an apint.
modAdd(double, double) - Method in class org.apfloat.internal.DoubleElementaryModMath
Modular addition.
modAdd(float, float) - Method in class org.apfloat.internal.FloatElementaryModMath
Modular addition.
modAdd(int, int) - Method in class org.apfloat.internal.IntElementaryModMath
Modular addition.
modAdd(long, long) - Method in class org.apfloat.internal.LongElementaryModMath
Modular addition.
modDivide(double, double) - Method in class org.apfloat.internal.DoubleModMath
Modular division.
modDivide(float, float) - Method in class org.apfloat.internal.FloatModMath
Modular division.
modDivide(int, int) - Method in class org.apfloat.internal.IntModMath
Modular division.
modDivide(long, long) - Method in class org.apfloat.internal.LongModMath
Modular division.
modInverse(double) - Method in class org.apfloat.internal.DoubleModMath
Modular inverse, that is 1 / a.
modInverse(float) - Method in class org.apfloat.internal.FloatModMath
Modular inverse, that is 1 / a.
modInverse(int) - Method in class org.apfloat.internal.IntModMath
Modular inverse, that is 1 / a.
modInverse(long) - Method in class org.apfloat.internal.LongModMath
Modular inverse, that is 1 / a.
modMultiply(Apint, Apint, Apint) - Static method in class org.apfloat.ApintMath
Modular multiplication.
modMultiply(double, double) - Method in class org.apfloat.internal.DoubleElementaryModMath
Modular multiplication.
modMultiply(float, float) - Method in class org.apfloat.internal.FloatElementaryModMath
Modular multiplication.
modMultiply(int, int) - Method in class org.apfloat.internal.IntElementaryModMath
Modular multiplication.
modMultiply(long, long) - Method in class org.apfloat.internal.LongElementaryModMath
Modular multiplication.
modPow(Apint, Apint, Apint) - Static method in class org.apfloat.ApintMath
Modular power.
modPow(double, double) - Method in class org.apfloat.internal.DoubleModMath
Modular power.
modPow(float, float) - Method in class org.apfloat.internal.FloatModMath
Modular power.
modPow(int, int) - Method in class org.apfloat.internal.IntModMath
Modular power.
modPow(long, long) - Method in class org.apfloat.internal.LongModMath
Modular power.
modSubtract(double, double) - Method in class org.apfloat.internal.DoubleElementaryModMath
Modular subtraction.
modSubtract(float, float) - Method in class org.apfloat.internal.FloatElementaryModMath
Modular subtraction.
modSubtract(int, int) - Method in class org.apfloat.internal.IntElementaryModMath
Modular subtraction.
modSubtract(long, long) - Method in class org.apfloat.internal.LongElementaryModMath
Modular subtraction.
modf(Apfloat) - Static method in class org.apfloat.ApfloatMath
Split to integer and fractional parts.
multiply(Apcomplex) - Method in class org.apfloat.Apcomplex
Multiplies two apcomplex numbers.
multiply(Apfloat) - Method in class org.apfloat.Apfloat
Multiplies two apfloats.
multiply(Apint) - Method in class org.apfloat.Apint
Multiplies two apints.
multiply(Aprational) - Method in class org.apfloat.Aprational
Multiplies two aprational numbers.
multiply(ApfloatImpl) - Method in class org.apfloat.internal.DoubleApfloatImpl
 
multiply(double[], double, double[]) - Method in class org.apfloat.internal.DoubleCRTMath
Multiplies two words by one word to produce a result of three words.
multiply(ApfloatImpl) - Method in class org.apfloat.internal.FloatApfloatImpl
 
multiply(float[], float, float[]) - Method in class org.apfloat.internal.FloatCRTMath
Multiplies two words by one word to produce a result of three words.
multiply(ApfloatImpl) - Method in class org.apfloat.internal.IntApfloatImpl
 
multiply(int[], int, int[]) - Method in class org.apfloat.internal.IntCRTMath
Multiplies two words by one word to produce a result of three words.
multiply(ApfloatImpl) - Method in class org.apfloat.internal.LongApfloatImpl
 
multiply(long[], long, long[]) - Method in class org.apfloat.internal.LongCRTMath
Multiplies two words by one word to produce a result of three words.
multiply(ApfloatImpl) - Method in interface org.apfloat.spi.ApfloatImpl
Multiply this object by an ApfloatImpl.
multiplyAdd(Apfloat, Apfloat, Apfloat, Apfloat) - Static method in class org.apfloat.ApfloatMath
Fused multiply-add.
multiplyElements(ArrayAccess, int, int, int, double, double) - Method in class org.apfloat.internal.DoubleParallelFNTStrategy
Multiply each matrix element (i, j) by wi * j * scaleFactor.
multiplyElements(ArrayAccess, int, int, int, float, float) - Method in class org.apfloat.internal.FloatParallelFNTStrategy
Multiply each matrix element (i, j) by wi * j * scaleFactor.
multiplyElements(ArrayAccess, int, int, int, int, int) - Method in class org.apfloat.internal.IntParallelFNTStrategy
Multiply each matrix element (i, j) by wi * j * scaleFactor.
multiplyElements(ArrayAccess, int, int, int, long, long) - Method in class org.apfloat.internal.LongParallelFNTStrategy
Multiply each matrix element (i, j) by wi * j * scaleFactor.
multiplySubtract(Apfloat, Apfloat, Apfloat, Apfloat) - Static method in class org.apfloat.ApfloatMath
Fused multiply-subtract.

N

NTTBuilder - interface org.apfloat.spi.NTTBuilder.
Interface of a factory for creating Number Theoretic Transforms.
NTTStrategy - interface org.apfloat.spi.NTTStrategy.
Number Theoretic Transform (NTT) strategy.
NUMBER_OF_PROCESSORS - Static variable in class org.apfloat.ApfloatContext
Property name for specifying the number of processors available.
negate(Apcomplex) - Static method in class org.apfloat.ApcomplexMath
Negative value.
negate(Apfloat) - Static method in class org.apfloat.ApfloatMath
Returns an apfloat whose value is -x.
negate(Apint) - Static method in class org.apfloat.ApintMath
Returns an apint whose value is -x.
negate(Aprational) - Static method in class org.apfloat.AprationalMath
Returns an aprational whose value is -x.
negate() - Method in class org.apfloat.internal.DoubleApfloatImpl
 
negate(double) - Method in class org.apfloat.internal.DoubleModMath
Modular negation.
negate() - Method in class org.apfloat.internal.FloatApfloatImpl
 
negate(float) - Method in class org.apfloat.internal.FloatModMath
Modular negation.
negate() - Method in class org.apfloat.internal.IntApfloatImpl
 
negate(int) - Method in class org.apfloat.internal.IntModMath
Modular negation.
negate() - Method in class org.apfloat.internal.LongApfloatImpl
 
negate(long) - Method in class org.apfloat.internal.LongModMath
Modular negation.
negate() - Method in interface org.apfloat.spi.ApfloatImpl
Returns this ApfloatImpl negated.
next() - Method in class org.apfloat.spi.DataStorage.AbstractIterator
Advances the position in the stream by one element.
next() - Method in class org.apfloat.spi.DataStorage.Iterator
Advances the position in the stream by one element.
norm(Apcomplex) - Static method in class org.apfloat.ApcomplexMath
Norm.
numerator() - Method in class org.apfloat.Apint
Numerator of this aprational.
numerator() - Method in class org.apfloat.Aprational
Numerator of this aprational.

O

ONE - Static variable in class org.apfloat.Apcomplex
Constant for one.
Operation - interface org.apfloat.samples.Operation.
Interface for implementing arbitrary operations to be executed.
OperationExecutor - interface org.apfloat.samples.OperationExecutor.
Interface for implementing objects that can execute Operations.
OperationServer - class org.apfloat.samples.OperationServer.
Server for executing Operations from remote calls.
org.apfloat - package org.apfloat
The apfloat Application Programming Interface (API).
org.apfloat.internal - package org.apfloat.internal
Default implementations of the apfloat Service Provider Interface (SPI).
org.apfloat.samples - package org.apfloat.samples
Sample applications demonstrating apfloat use.
org.apfloat.spi - package org.apfloat.spi
The apfloat Service Provider Interface (SPI).
out - Static variable in class org.apfloat.samples.Pi
Output stream for the result printout.

P

PRIMITIVE_ROOT - Static variable in interface org.apfloat.internal.DoubleModConstants
Primitive roots for the corresponding moduli.
PRIMITIVE_ROOT - Static variable in interface org.apfloat.internal.FloatModConstants
Primitive roots for the corresponding moduli.
PRIMITIVE_ROOT - Static variable in interface org.apfloat.internal.IntModConstants
Primitive roots for the corresponding moduli.
PRIMITIVE_ROOT - Static variable in interface org.apfloat.internal.LongModConstants
Primitive roots for the corresponding moduli.
Pi - class org.apfloat.samples.Pi.
Calculates pi using three different algorithms.
Pi.BorweinPiCalculator - class org.apfloat.samples.Pi.BorweinPiCalculator.
Calculates pi using the Borweins' quartic algorithm.
Pi.BorweinPiCalculator(long, int) - Constructor for class org.apfloat.samples.Pi.BorweinPiCalculator
Construct a pi calculator with the specified precision and radix.
Pi.ChudnovskyPiCalculator - class org.apfloat.samples.Pi.ChudnovskyPiCalculator.
Basic class for calculating pi using the Chudnovskys' binary splitting algorithm.
Pi.ChudnovskyPiCalculator(long, int) - Constructor for class org.apfloat.samples.Pi.ChudnovskyPiCalculator
Construct a pi calculator with the specified precision and radix.
Pi.ChudnovskyProgressIndicator - class org.apfloat.samples.Pi.ChudnovskyProgressIndicator.
Indicates progress of the pi calculation using the Chudnovskys' binary splitting algorithm.
Pi.ChudnovskyProgressIndicator(long) - Constructor for class org.apfloat.samples.Pi.ChudnovskyProgressIndicator
Construct a progress indicator with the specified number of terms of the series.
Pi.GaussLegendrePiCalculator - class org.apfloat.samples.Pi.GaussLegendrePiCalculator.
Calculates pi using the Gauss-Legendre algorithm.
Pi.GaussLegendrePiCalculator(long, int) - Constructor for class org.apfloat.samples.Pi.GaussLegendrePiCalculator
Construct a pi calculator with the specified precision and radix.
PiApplet - class org.apfloat.samples.PiApplet.
Applet for calculating pi using three different algorithms.
PiApplet() - Constructor for class org.apfloat.samples.PiApplet
Default constructor.
PiDistributed - class org.apfloat.samples.PiDistributed.
Calculates pi using a cluster of servers.
PiDistributed.DistributedPiCalculator - class org.apfloat.samples.PiDistributed.DistributedPiCalculator.
Distributed version of the Chudnovskys' binary splitting algorithm.
PiDistributed.DistributedPiCalculator(long, int) - Constructor for class org.apfloat.samples.PiDistributed.DistributedPiCalculator
Construct a distributed pi calculator with the specified precision and radix.
PiParallel - class org.apfloat.samples.PiParallel.
Calculates pi using multiple threads in parallel.
PiParallel.ParallelPiCalculator - class org.apfloat.samples.PiParallel.ParallelPiCalculator.
Parallel version of the Chudnovskys' binary splitting algorithm.
PiParallel.ParallelPiCalculator(long, int) - Constructor for class org.apfloat.samples.PiParallel.ParallelPiCalculator
Construct a parallel pi calculator with the specified precision and radix.
PiParallel.ThreadLimitedOperation - class org.apfloat.samples.PiParallel.ThreadLimitedOperation.
Class to execute operations while setting ApfloatContext.setNumberOfProcessors(int) to some value.
PiParallel.ThreadLimitedOperation(Operation, int) - Constructor for class org.apfloat.samples.PiParallel.ThreadLimitedOperation
Wrap an existing operation to a thread limited context.
PiParallelApplet - class org.apfloat.samples.PiParallelApplet.
Applet for calculating pi using multiple threads in parallel.
PiParallelApplet() - Constructor for class org.apfloat.samples.PiParallelApplet
Default constructor.
permute(int, int) - Static method in class org.apfloat.internal.Scramble
Permute the bits of a number to reverse order.
pi(long) - Static method in class org.apfloat.ApfloatMath
Calculates π.
pi(long, int) - Static method in class org.apfloat.ApfloatMath
Calculates π.
pow(Apcomplex, long) - Static method in class org.apfloat.ApcomplexMath
Integer power.
pow(Apcomplex, Apcomplex) - Static method in class org.apfloat.ApcomplexMath
Arbitrary power.
pow(Apfloat, long) - Static method in class org.apfloat.ApfloatMath
Integer power.
pow(Apfloat, Apfloat) - Static method in class org.apfloat.ApfloatMath
Arbitrary power.
pow(Apint, long) - Static method in class org.apfloat.ApintMath
Integer power.
pow(Aprational, long) - Static method in class org.apfloat.AprationalMath
Integer power.
precision() - Method in class org.apfloat.Apcomplex
Returns the precision of this apcomplex.
precision() - Method in class org.apfloat.Apfloat
Returns the precision of this apfloat.
precision(long) - Method in class org.apfloat.Apfloat
Returns an apfloat with the same value as this apfloat accurate to the specified precision.
precision() - Method in class org.apfloat.Aprational
Returns the precision of this aprational.
precision() - Method in class org.apfloat.internal.DoubleApfloatImpl
 
precision(long) - Method in class org.apfloat.internal.DoubleApfloatImpl
 
precision() - Method in class org.apfloat.internal.FloatApfloatImpl
 
precision(long) - Method in class org.apfloat.internal.FloatApfloatImpl
 
precision() - Method in class org.apfloat.internal.IntApfloatImpl
 
precision(long) - Method in class org.apfloat.internal.IntApfloatImpl
 
precision() - Method in class org.apfloat.internal.LongApfloatImpl
 
precision(long) - Method in class org.apfloat.internal.LongApfloatImpl
 
precision - Variable in class org.apfloat.samples.Pi.ChudnovskyPiCalculator
Target precision.
precision() - Method in interface org.apfloat.spi.ApfloatImpl
Returns the precision of this ApfloatImpl.
precision(long) - Method in interface org.apfloat.spi.ApfloatImpl
Returns this ApfloatImpl with the specified precision.
progress(long, long) - Method in class org.apfloat.samples.Pi.ChudnovskyProgressIndicator
Advances the progress.

R

RADIX_FACTORS - Static variable in interface org.apfloat.spi.RadixConstants
Factors of numbers 2, ..., 36.
READ - Static variable in class org.apfloat.spi.DataStorage
Read access mode specifier.
READ_WRITE - Static variable in class org.apfloat.spi.DataStorage
Read-write access mode specifier.
RadixConstants - interface org.apfloat.spi.RadixConstants.
Constants related to different radixes.
RemoteOperationExecutor - class org.apfloat.samples.RemoteOperationExecutor.
Class to call an OperationServer to execute Operations remotely.
RemoteOperationExecutor(String, int) - Constructor for class org.apfloat.samples.RemoteOperationExecutor
Create a new client that will connect to the server running at the specified host and port.
r(long, long, ApfloatHolder, ApfloatHolder, ApfloatHolder, Pi.ChudnovskyProgressIndicator) - Method in class org.apfloat.samples.Pi.ChudnovskyPiCalculator
Entry point for the binary splitting algorithm.
r(long, long, ApfloatHolder, ApfloatHolder, ApfloatHolder, ApfloatHolder, OperationExecutor[], Pi.ChudnovskyProgressIndicator) - Method in class org.apfloat.samples.PiDistributed.DistributedPiCalculator
 
r(long, long, ApfloatHolder, ApfloatHolder, ApfloatHolder, ApfloatHolder, OperationExecutor[], Pi.ChudnovskyProgressIndicator) - Method in class org.apfloat.samples.PiParallel.ParallelPiCalculator
Entry point for the parallel binary splitting algorithm.
radix() - Method in class org.apfloat.Apcomplex
Radix of this apcomplex.
radix() - Method in class org.apfloat.Apfloat
Radix of this apfloat.
radix() - Method in class org.apfloat.Apint
Radix of this apint.
radix() - Method in class org.apfloat.Aprational
Radix of this aprational.
radix() - Method in class org.apfloat.internal.DoubleApfloatImpl
 
radix() - Method in class org.apfloat.internal.FloatApfloatImpl
 
radix() - Method in class org.apfloat.internal.IntApfloatImpl
 
radix() - Method in class org.apfloat.internal.LongApfloatImpl
 
radix - Variable in class org.apfloat.samples.Pi.ChudnovskyPiCalculator
Radix to be used.
radix() - Method in interface org.apfloat.spi.ApfloatImpl
Returns the radix of this ApfloatImpl.
real() - Method in class org.apfloat.Apcomplex
Returns the real part of this apcomplex.
real() - Method in class org.apfloat.Apfloat
Real part of this apfloat.
recombineNodes(OperationExecutor[], int) - Method in class org.apfloat.samples.PiDistributed.DistributedPiCalculator
 
recombineNodes(OperationExecutor[], int) - Method in class org.apfloat.samples.PiParallel.ParallelPiCalculator
Attempt to combine or split nodes to form the needed number of nodes.
removeAttribute(String) - Method in class org.apfloat.ApfloatContext
Remove an attribute from this ApfloatContext.
removeThreadContext() - Static method in class org.apfloat.ApfloatContext
Removes the thread-specific context for the current thread.
removeThreadContext(Thread) - Static method in class org.apfloat.ApfloatContext
Removes the thread-specific context for the specified thread.
root(Apcomplex, long) - Static method in class org.apfloat.ApcomplexMath
Positive integer root.
root(Apfloat, long) - Static method in class org.apfloat.ApfloatMath
Positive integer root.
root(Apint, long) - Static method in class org.apfloat.ApintMath
Positive integer root and remainder.
round23down(int) - Static method in class org.apfloat.spi.Util
Round down to nearest power of two or three times a power of two.
round23down(long) - Static method in class org.apfloat.spi.Util
Round down to nearest power of two or three times a power of two.
round23up(int) - Static method in class org.apfloat.spi.Util
Round up to nearest power of two or three times a power of two.
round23up(long) - Static method in class org.apfloat.spi.Util
Round up to nearest power of two or three times a power of two.
round2down(int) - Static method in class org.apfloat.spi.Util
Round down to nearest power of two.
round2down(long) - Static method in class org.apfloat.spi.Util
Round down to nearest power of two.
round2up(int) - Static method in class org.apfloat.spi.Util
Round up to nearest power of two.
round2up(long) - Static method in class org.apfloat.spi.Util
Round up to nearest power of two.
run(long, int, Operation) - Static method in class org.apfloat.samples.Pi
Execute an operation and display some additional information.

S

Scramble - class org.apfloat.internal.Scramble.
Functions to perform bit-reverse ordering of data.
scale() - Method in class org.apfloat.Apcomplex
Returns the scale of this apcomplex.
scale(Apcomplex, long) - Static method in class org.apfloat.ApcomplexMath
Multiply by a power of the radix.
scale() - Method in class org.apfloat.Apfloat
Returns the scale of this apfloat.
scale(Apfloat, long) - Static method in class org.apfloat.ApfloatMath
Multiply by a power of the radix.
scale() - Method in class org.apfloat.Apint
Returns the scale of this apint.
scale(Apint, long) - Static method in class org.apfloat.ApintMath
Multiply by a power of the radix.
scale() - Method in class org.apfloat.Aprational
Returns the scale of this aprational.
scale(Aprational, long) - Static method in class org.apfloat.AprationalMath
Multiply by a power of the radix.
scale() - Method in class org.apfloat.internal.DoubleApfloatImpl
 
scale() - Method in class org.apfloat.internal.FloatApfloatImpl
 
scale() - Method in class org.apfloat.internal.IntApfloatImpl
 
scale() - Method in class org.apfloat.internal.LongApfloatImpl
 
scale() - Method in interface org.apfloat.spi.ApfloatImpl
Returns the scale of this ApfloatImpl.
scramble(double[], int, int[]) - Static method in class org.apfloat.internal.DoubleScramble
Permute the data in the table to bit-reversed order.
scramble(float[], int, int[]) - Static method in class org.apfloat.internal.FloatScramble
Permute the data in the table to bit-reversed order.
scramble(int[], int, int[]) - Static method in class org.apfloat.internal.IntScramble
Permute the data in the table to bit-reversed order.
scramble(long[], int, int[]) - Static method in class org.apfloat.internal.LongScramble
Permute the data in the table to bit-reversed order.
setAlive(boolean) - Static method in class org.apfloat.samples.Pi
Set whether the program should stop executing.
setApfloat(Apfloat) - Method in class org.apfloat.samples.ApfloatHolder
Set the apfloat contained in this bean.
setAttribute(String, Object) - Method in class org.apfloat.ApfloatContext
Set an arbitrary object as an attribute for this ApfloatContext.
setBlockSize(int) - Method in class org.apfloat.ApfloatContext
Set the efficient I/O block size in bytes for this context.
setBuilderFactory(BuilderFactory) - Method in class org.apfloat.ApfloatContext
Set the BuilderFactory.
setCacheBurst(int) - Method in class org.apfloat.ApfloatContext
Set the L1 cache burst block size in bytes.
setCacheL1Size(int) - Method in class org.apfloat.ApfloatContext
Set the L1 cache size in bytes.
setCacheL2Size(int) - Method in class org.apfloat.ApfloatContext
Set the L2 cache size in bytes.
setCleanupAtExit(boolean) - Method in class org.apfloat.ApfloatContext
Set if clean-up should be performed at the time the program exits.
setDefaultRadix(int) - Method in class org.apfloat.ApfloatContext
Set the default radix.
setDouble(double) - Method in class org.apfloat.spi.DataStorage.AbstractIterator
 
setDouble(double) - Method in class org.apfloat.spi.DataStorage.Iterator
Sets the current element as a double.
setErr(PrintWriter) - Static method in class org.apfloat.samples.Pi
Set the output stream for status messages printout.
setFilenameGenerator(FilenameGenerator) - Method in class org.apfloat.ApfloatContext
Set the FilenameGenerator.
setFloat(float) - Method in class org.apfloat.spi.DataStorage.AbstractIterator
 
setFloat(float) - Method in class org.apfloat.spi.DataStorage.Iterator
Sets the current element as a float.
setInt(int) - Method in class org.apfloat.spi.DataStorage.AbstractIterator
 
setInt(int) - Method in class org.apfloat.spi.DataStorage.Iterator
Sets the current element as an int.
setLong(long) - Method in class org.apfloat.spi.DataStorage.AbstractIterator
 
setLong(long) - Method in class org.apfloat.spi.DataStorage.Iterator
Sets the current element as a long.
setMaxMemoryBlockSize(long) - Method in class org.apfloat.ApfloatContext
Set the maximum allowed memory block size in bytes.
setMemoryTreshold(int) - Method in class org.apfloat.ApfloatContext
Set the maximum size of apfloats in bytes that are stored in memory within this context.
setModulus(double) - Method in class org.apfloat.internal.DoubleElementaryModMath
Set the modulus.
setModulus(float) - Method in class org.apfloat.internal.FloatElementaryModMath
Set the modulus.
setModulus(int) - Method in class org.apfloat.internal.IntElementaryModMath
Set the modulus.
setModulus(long) - Method in class org.apfloat.internal.LongElementaryModMath
Set the modulus.
setNumberOfProcessors(int) - Method in class org.apfloat.ApfloatContext
Set the number of processors available to calculations using this context.
setOut(PrintWriter) - Static method in class org.apfloat.samples.Pi
Set the output stream for the result printout.
setProperties(Properties) - Method in class org.apfloat.ApfloatContext
Set the values of all properties as strings.
setProperty(String, String) - Method in class org.apfloat.ApfloatContext
Set the value of a property as string.
setReadOnly() - Method in class org.apfloat.spi.DataStorage
Sets this data storage as read-only.
setSharedMemoryLock(Object) - Method in class org.apfloat.ApfloatContext
Set the shared memory lock object.
setSize(long) - Method in class org.apfloat.spi.DataStorage
Sets the size of the data storage.
setThreadContext(ApfloatContext) - Static method in class org.apfloat.ApfloatContext
Set the thread-specific ApfloatContext for the calling thread.
setThreadContext(ApfloatContext, Thread) - Static method in class org.apfloat.ApfloatContext
Set the thread-specific ApfloatContext for the specified thread.
shortValue() - Method in class org.apfloat.Apcomplex
Returns the value of the this number as a short.
shortValue() - Method in class org.apfloat.Apfloat
Returns the value of the this number as a short.
signum() - Method in class org.apfloat.Apfloat
Returns the signum function of this apfloat.
signum() - Method in class org.apfloat.Apint
Returns the signum function of this apint.
signum() - Method in class org.apfloat.Aprational
Returns the signum function of this aprational.
signum() - Method in class org.apfloat.internal.DoubleApfloatImpl
 
signum() - Method in class org.apfloat.internal.FloatApfloatImpl
 
signum() - Method in class org.apfloat.internal.IntApfloatImpl
 
signum() - Method in class org.apfloat.internal.LongApfloatImpl
 
signum() - Method in interface org.apfloat.spi.ApfloatImpl
Returns the signum of this ApfloatImpl.
sin(Apcomplex) - Static method in class org.apfloat.ApcomplexMath
Sine.
sin(Apfloat) - Static method in class org.apfloat.ApfloatMath
Sine.
sinh(Apcomplex) - Static method in class org.apfloat.ApcomplexMath
Hyperbolic sine.
sinh(Apfloat) - Static method in class org.apfloat.ApfloatMath
Hyperbolic sine.
sqrt(Apcomplex) - Static method in class org.apfloat.ApcomplexMath
Square root.
sqrt(Apfloat) - Static method in class org.apfloat.ApfloatMath
Square root.
sqrt(Apint) - Static method in class org.apfloat.ApintMath
Square root and remainder.
sqrt4down(int) - Static method in class org.apfloat.spi.Util
Square root rounded down to nearest power of two.
sqrt4down(long) - Static method in class org.apfloat.spi.Util
Square root rounded down to nearest power of two.
sqrt4up(int) - Static method in class org.apfloat.spi.Util
Square root rounded up to nearest power of two.
sqrt4up(long) - Static method in class org.apfloat.spi.Util
Square root rounded up to nearest power of two.
subsequence(int, int) - Method in class org.apfloat.internal.DoubleMemoryArrayAccess
 
subsequence(int, int) - Method in class org.apfloat.internal.FloatMemoryArrayAccess
 
subsequence(int, int) - Method in class org.apfloat.internal.IntMemoryArrayAccess
 
subsequence(int, int) - Method in class org.apfloat.internal.LongMemoryArrayAccess
 
subsequence(int, int) - Method in class org.apfloat.spi.ArrayAccess
Create a sub-sequence view of this array access.
subsequence(long, long) - Method in class org.apfloat.spi.DataStorage
Get a subsequence of this data storage.
subtract(Apcomplex) - Method in class org.apfloat.Apcomplex
Subtracts two apcomplex numbers.
subtract(Apfloat) - Method in class org.apfloat.Apfloat
Subtracts two apfloats.
subtract(Apint) - Method in class org.apfloat.Apint
Subtracts two apints.
subtract(Aprational) - Method in class org.apfloat.Aprational
Subtracts two aprational numbers.
subtract(double[], double[]) - Method in class org.apfloat.internal.DoubleCRTMath
Subtracts three words.
subtract(float[], float[]) - Method in class org.apfloat.internal.FloatCRTMath
Subtracts three words.
subtract(int[], int[]) - Method in class org.apfloat.internal.IntCRTMath
Subtracts three words.
subtract(long[], long[]) - Method in class org.apfloat.internal.LongCRTMath
Subtracts three words.

T

tableFNT(ArrayAccess, double[], int[]) - Method in class org.apfloat.internal.DoubleTableFNTStrategy
Forward (Sande-Tukey) fast Number Theoretic Transform.
tableFNT(ArrayAccess, float[], int[]) - Method in class org.apfloat.internal.FloatTableFNTStrategy
Forward (Sande-Tukey) fast Number Theoretic Transform.
tableFNT(ArrayAccess, int[], int[]) - Method in class org.apfloat.internal.IntTableFNTStrategy
Forward (Sande-Tukey) fast Number Theoretic Transform.
tableFNT(ArrayAccess, long[], int[]) - Method in class org.apfloat.internal.LongTableFNTStrategy
Forward (Sande-Tukey) fast Number Theoretic Transform.
tan(Apcomplex) - Static method in class org.apfloat.ApcomplexMath
Tangent.
tan(Apfloat) - Static method in class org.apfloat.ApfloatMath
Tangent.
tanh(Apcomplex) - Static method in class org.apfloat.ApcomplexMath
Hyperbolic tangent.
tanh(Apfloat) - Static method in class org.apfloat.ApfloatMath
Hyperbolic tangent.
toString() - Method in class org.apfloat.Apcomplex
Returns a string representation of this apcomplex.
toString(boolean) - Method in class org.apfloat.Apcomplex
Returns a string representation of this apcomplex.
toString(boolean) - Method in class org.apfloat.Apfloat
Returns a string representation of this apfloat.
toString(boolean) - Method in class org.apfloat.Apint
Returns a string representation of this aprational.
toString() - Method in class org.apfloat.Aprational
Returns a string representation of this aprational.
toString(boolean) - Method in class org.apfloat.Aprational
Returns a string representation of this aprational.
toString(boolean) - Method in class org.apfloat.internal.DoubleApfloatImpl
 
toString(boolean) - Method in class org.apfloat.internal.FloatApfloatImpl
 
toString(boolean) - Method in class org.apfloat.internal.IntApfloatImpl
 
toString(boolean) - Method in class org.apfloat.internal.LongApfloatImpl
 
toString(boolean) - Method in interface org.apfloat.spi.ApfloatImpl
Convert this ApfloatImpl to String.
transferFrom(ReadableByteChannel, long, long) - Method in class org.apfloat.internal.DiskDataStorage
Transfer from a readable channel, possibly in multiple chunks.
transferTo(WritableByteChannel, long, long) - Method in class org.apfloat.internal.DiskDataStorage
Transfer to a writable channel, possibly in multiple chunks.
transform(DataStorage, int) - Method in class org.apfloat.internal.DoubleFactor3NTTStrategy
 
transform(DataStorage, int) - Method in class org.apfloat.internal.DoubleSixStepFNTStrategy
 
transform(DataStorage, int) - Method in class org.apfloat.internal.DoubleTableFNTStrategy
 
transform(DataStorage, int) - Method in class org.apfloat.internal.DoubleTwoPassFNTStrategy
 
transform(DataStorage, int) - Method in class org.apfloat.internal.FloatFactor3NTTStrategy
 
transform(DataStorage, int) - Method in class org.apfloat.internal.FloatSixStepFNTStrategy
 
transform(DataStorage, int) - Method in class org.apfloat.internal.FloatTableFNTStrategy
 
transform(DataStorage, int) - Method in class org.apfloat.internal.FloatTwoPassFNTStrategy
 
transform(DataStorage, int) - Method in class org.apfloat.internal.IntFactor3NTTStrategy
 
transform(DataStorage, int) - Method in class org.apfloat.internal.IntSixStepFNTStrategy
 
transform(DataStorage, int) - Method in class org.apfloat.internal.IntTableFNTStrategy
 
transform(DataStorage, int) - Method in class org.apfloat.internal.IntTwoPassFNTStrategy
 
transform(DataStorage, int) - Method in class org.apfloat.internal.LongFactor3NTTStrategy
 
transform(DataStorage, int) - Method in class org.apfloat.internal.LongSixStepFNTStrategy
 
transform(DataStorage, int) - Method in class org.apfloat.internal.LongTableFNTStrategy
 
transform(DataStorage, int) - Method in class org.apfloat.internal.LongTwoPassFNTStrategy
 
transform(DataStorage, int) - Method in interface org.apfloat.spi.NTTStrategy
Perform a forward transform on the data.
transformRows(int, int, boolean, ArrayAccess, double[], int[]) - Method in class org.apfloat.internal.DoubleParallelFNTStrategy
Transform the rows of the data matrix.
transformRows(int, int, boolean, ArrayAccess, float[], int[]) - Method in class org.apfloat.internal.FloatParallelFNTStrategy
Transform the rows of the data matrix.
transformRows(int, int, boolean, ArrayAccess, int[], int[]) - Method in class org.apfloat.internal.IntParallelFNTStrategy
Transform the rows of the data matrix.
transformRows(int, int, boolean, ArrayAccess, long[], int[]) - Method in class org.apfloat.internal.LongParallelFNTStrategy
Transform the rows of the data matrix.
transpose(ArrayAccess, int, int) - Static method in class org.apfloat.internal.DoubleMatrix
Transpose a n1 x n2 matrix.
transpose(ArrayAccess, int, int) - Static method in class org.apfloat.internal.FloatMatrix
Transpose a n1 x n2 matrix.
transpose(ArrayAccess, int, int) - Static method in class org.apfloat.internal.IntMatrix
Transpose a n1 x n2 matrix.
transpose(ArrayAccess, int, int) - Static method in class org.apfloat.internal.LongMatrix
Transpose a n1 x n2 matrix.
transposeSquare(ArrayAccess, int, int) - Static method in class org.apfloat.internal.DoubleMatrix
Transpose a square n1 x n1 block of n1 x n2 matrix.
transposeSquare(ArrayAccess, int, int) - Static method in class org.apfloat.internal.FloatMatrix
Transpose a square n1 x n1 block of n1 x n2 matrix.
transposeSquare(ArrayAccess, int, int) - Static method in class org.apfloat.internal.IntMatrix
Transpose a square n1 x n1 block of n1 x n2 matrix.
transposeSquare(ArrayAccess, int, int) - Static method in class org.apfloat.internal.LongMatrix
Transpose a square n1 x n1 block of n1 x n2 matrix.
truncate() - Method in class org.apfloat.Apfloat
Truncates fractional part.
truncate(Apfloat) - Static method in class org.apfloat.ApfloatMath
Truncates fractional part.
truncate() - Method in class org.apfloat.Apint
Truncates fractional part.
truncate() - Method in class org.apfloat.Aprational
Truncates fractional part.

U

Util - class org.apfloat.spi.Util.
Miscellaneous utility methods.

W

WRITE - Static variable in class org.apfloat.spi.DataStorage
Write access mode specifier.
writeTo(Writer) - Method in class org.apfloat.Apcomplex
Write a string representation of this apcomplex to a Writer.
writeTo(Writer, boolean) - Method in class org.apfloat.Apcomplex
Write a string representation of this apcomplex to a Writer.
writeTo(Writer, boolean) - Method in class org.apfloat.Apfloat
Write a string representation of this apfloat to a Writer.
writeTo(Writer, boolean) - Method in class org.apfloat.Apint
Write a string representation of this aprational to a Writer.
writeTo(Writer) - Method in class org.apfloat.Aprational
Write a string representation of this aprational to a Writer.
writeTo(Writer, boolean) - Method in class org.apfloat.Aprational
Write a string representation of this aprational to a Writer.
writeTo(Writer, boolean) - Method in class org.apfloat.internal.DoubleApfloatImpl
 
writeTo(Writer, boolean) - Method in class org.apfloat.internal.FloatApfloatImpl
 
writeTo(Writer, boolean) - Method in class org.apfloat.internal.IntApfloatImpl
 
writeTo(Writer, boolean) - Method in class org.apfloat.internal.LongApfloatImpl
 
writeTo(Writer, boolean) - Method in interface org.apfloat.spi.ApfloatImpl
Print this ApfloatImpl to a stream.

Z

ZERO - Static variable in class org.apfloat.Apcomplex
Constant for zero.

A B C D E F G H I L M N O P R S T U W Z