Package | Description |
---|---|
org.apfloat |
The apfloat Application Programming Interface (API).
|
org.apfloat.internal |
Default implementations of the apfloat Service Provider Interface (SPI).
|
org.apfloat.spi |
The apfloat Service Provider Interface (SPI).
|
Modifier and Type | Class and Description |
---|---|
class |
ApfloatConfigurationException
Exception indicating an error in the apfloat configuration.
|
class |
InfiniteExpansionException
Exception indicating that the result of an operation
would have infinite size.
|
class |
LossOfPrecisionException
Exception indicating a result that would have no significant digits.
|
class |
OverflowException
Exception indicating an overflow in a calculation.
|
Modifier and Type | Method and Description |
---|---|
Apfloat |
FixedPrecisionApcomplexHelper.abs(Apcomplex z)
Absolute value.
|
static Apfloat |
ApcomplexMath.abs(Apcomplex z)
Absolute value.
|
Apfloat |
FixedPrecisionApfloatHelper.abs(Apfloat x)
Absolute value.
|
static Apfloat |
ApfloatMath.abs(Apfloat x)
Absolute value.
|
static Apint |
ApintMath.abs(Apint x)
Absolute value.
|
static Aprational |
AprationalMath.abs(Aprational x)
Absolute value.
|
Apcomplex |
FixedPrecisionApcomplexHelper.acos(Apcomplex z)
Arc cosine.
|
static Apcomplex |
ApcomplexMath.acos(Apcomplex z)
Inverse cosine.
|
Apfloat |
FixedPrecisionApfloatHelper.acos(Apfloat x)
Arc cosine.
|
static Apfloat |
ApfloatMath.acos(Apfloat x)
Inverse cosine.
|
Apcomplex |
FixedPrecisionApcomplexHelper.acosh(Apcomplex z)
Hyperbolic arc cosine.
|
static Apcomplex |
ApcomplexMath.acosh(Apcomplex z)
Inverse hyperbolic cosine.
|
Apfloat |
FixedPrecisionApfloatHelper.acosh(Apfloat x)
Hyperbolic arc cosine.
|
static Apfloat |
ApfloatMath.acosh(Apfloat x)
Inverse hyperbolic cosine.
|
Apcomplex |
Apcomplex.add(Apcomplex z)
Adds two apcomplex numbers.
|
Apcomplex |
FixedPrecisionApcomplexHelper.add(Apcomplex z,
Apcomplex w)
Addition.
|
Apfloat |
Apfloat.add(Apfloat x)
Adds two apfloats.
|
Apfloat |
FixedPrecisionApfloatHelper.add(Apfloat x,
Apfloat y)
Addition.
|
Apint |
Apint.add(Apint x)
Adds two apints.
|
Aprational |
Aprational.add(Aprational x)
Adds two aprational numbers.
|
Apcomplex |
FixedPrecisionApcomplexHelper.agm(Apcomplex a,
Apcomplex b)
Arithmetic-geometric mean.
|
static Apcomplex |
ApcomplexMath.agm(Apcomplex a,
Apcomplex b)
Arithmetic-geometric mean.
|
Apfloat |
FixedPrecisionApfloatHelper.agm(Apfloat a,
Apfloat b)
Arithmetic-geometric mean.
|
static Apfloat |
ApfloatMath.agm(Apfloat a,
Apfloat b)
Arithmetic-geometric mean.
|
Apcomplex[] |
FixedPrecisionApcomplexHelper.allRoots(Apcomplex z,
int n)
All branches of a root.
|
static Apcomplex[] |
ApcomplexMath.allRoots(Apcomplex z,
int n)
All values of the positive integer root.
|
Apfloat |
FixedPrecisionApcomplexHelper.arg(Apcomplex z)
Complex angle.
|
static Apfloat |
ApcomplexMath.arg(Apcomplex z)
Angle of the complex vector in the complex plane.
|
Apcomplex |
FixedPrecisionApcomplexHelper.asin(Apcomplex z)
Arc sine.
|
static Apcomplex |
ApcomplexMath.asin(Apcomplex z)
Inverse sine.
|
Apfloat |
FixedPrecisionApfloatHelper.asin(Apfloat x)
Arc sine.
|
static Apfloat |
ApfloatMath.asin(Apfloat x)
Inverse sine.
|
Apcomplex |
FixedPrecisionApcomplexHelper.asinh(Apcomplex z)
Hyperbolic arc sine.
|
static Apcomplex |
ApcomplexMath.asinh(Apcomplex z)
Inverse hyperbolic sine.
|
Apfloat |
FixedPrecisionApfloatHelper.asinh(Apfloat x)
Hyperbolic arc sine.
|
static Apfloat |
ApfloatMath.asinh(Apfloat x)
Inverse hyperbolic sine.
|
Apcomplex |
FixedPrecisionApcomplexHelper.atan(Apcomplex z)
Arc tangent.
|
static Apcomplex |
ApcomplexMath.atan(Apcomplex z)
Inverse tangent.
|
Apfloat |
FixedPrecisionApfloatHelper.atan(Apfloat x)
Arc tangent.
|
static Apfloat |
ApfloatMath.atan(Apfloat x)
Inverse tangent.
|
Apfloat |
FixedPrecisionApfloatHelper.atan2(Apfloat x,
Apfloat y)
Angle of point.
|
static Apfloat |
ApfloatMath.atan2(Apfloat x,
Apfloat y)
Converts cartesian coordinates to polar coordinates.
|
Apcomplex |
FixedPrecisionApcomplexHelper.atanh(Apcomplex z)
Hyperbolic arc tangent.
|
static Apcomplex |
ApcomplexMath.atanh(Apcomplex z)
Inverse hyperbolic tangent.
|
Apfloat |
FixedPrecisionApfloatHelper.atanh(Apfloat x)
Hyperbolic arc tangent.
|
static Apfloat |
ApfloatMath.atanh(Apfloat x)
Inverse hyperbolic tangent.
|
Apcomplex |
FixedPrecisionApcomplexHelper.cbrt(Apcomplex z)
Cube root.
|
static Apcomplex |
ApcomplexMath.cbrt(Apcomplex z)
Cube root.
|
Apfloat |
FixedPrecisionApfloatHelper.cbrt(Apfloat x)
Cube root.
|
static Apfloat |
ApfloatMath.cbrt(Apfloat x)
Cube root.
|
static Apint[] |
ApintMath.cbrt(Apint x)
Cube root and remainder.
|
Apint |
Aprational.ceil()
Ceiling function.
|
Apint |
Apfloat.ceil()
Ceiling function.
|
Apfloat |
FixedPrecisionApfloatHelper.ceil(Apfloat x)
Ceiling function.
|
static Apint |
ApfloatMath.ceil(Apfloat x)
Ceiling function.
|
Apcomplex |
Apcomplex.conj()
Returns the complex conjugate of this apcomplex.
|
Apcomplex |
FixedPrecisionApcomplexHelper.conj(Apcomplex z)
Complex conjugate.
|
Apfloat |
FixedPrecisionApfloatHelper.copySign(Apfloat x,
Apfloat y)
Copies the sign from one number to another.
|
static Apfloat |
ApfloatMath.copySign(Apfloat x,
Apfloat y)
Copy sign from one argument to another.
|
static Apint |
ApintMath.copySign(Apint x,
Apint y)
Copy sign from one argument to another.
|
static Aprational |
AprationalMath.copySign(Aprational x,
Aprational y)
Copy sign from one argument to another.
|
Apcomplex |
FixedPrecisionApcomplexHelper.cos(Apcomplex z)
Cosine.
|
static Apcomplex |
ApcomplexMath.cos(Apcomplex z)
Cosine.
|
Apfloat |
FixedPrecisionApfloatHelper.cos(Apfloat x)
Cosine.
|
static Apfloat |
ApfloatMath.cos(Apfloat x)
Cosine.
|
Apcomplex |
FixedPrecisionApcomplexHelper.cosh(Apcomplex z)
Hyperbolic cosine.
|
static Apcomplex |
ApcomplexMath.cosh(Apcomplex z)
Hyperbolic cosine.
|
Apfloat |
FixedPrecisionApfloatHelper.cosh(Apfloat x)
Hyperbolic cosine.
|
static Apfloat |
ApfloatMath.cosh(Apfloat x)
Hyperbolic cosine.
|
static Apint[] |
ApintMath.div(Apint x,
Apint y)
Quotient and remainder.
|
Apcomplex |
Apcomplex.divide(Apcomplex z)
Divides two apcomplex numbers.
|
Apcomplex |
FixedPrecisionApcomplexHelper.divide(Apcomplex z,
Apcomplex w)
Division.
|
Apfloat |
Apfloat.divide(Apfloat x)
Divides two apfloats.
|
Apfloat |
FixedPrecisionApfloatHelper.divide(Apfloat x,
Apfloat y)
Division.
|
Apint |
Apint.divide(Apint x)
Divides two apints.
|
Aprational |
Aprational.divide(Aprational x)
Divides two aprational numbers.
|
long |
Apcomplex.equalDigits(Apcomplex z)
Computes number of equal digits.
|
long |
Apfloat.equalDigits(Apfloat x)
Computes number of equal digits.
|
Apcomplex |
FixedPrecisionApcomplexHelper.exp(Apcomplex z)
Exponential function.
|
static Apcomplex |
ApcomplexMath.exp(Apcomplex z)
Exponent function.
|
Apfloat |
FixedPrecisionApfloatHelper.exp(Apfloat x)
Exponential function.
|
static Apfloat |
ApfloatMath.exp(Apfloat x)
Exponent function.
|
Apfloat |
FixedPrecisionApfloatHelper.factorial(long n)
Factorial.
|
static Apint |
ApintMath.factorial(long n)
Factorial function.
|
Apfloat |
FixedPrecisionApfloatHelper.factorial(long n,
int radix)
Factorial.
|
static Apint |
ApintMath.factorial(long n,
int radix)
Factorial function.
|
Apint |
Aprational.floor()
Floor function.
|
Apint |
Apfloat.floor()
Floor function.
|
Apfloat |
FixedPrecisionApfloatHelper.floor(Apfloat x)
Floor function.
|
static Apint |
ApfloatMath.floor(Apfloat x)
Floor function.
|
Apfloat |
FixedPrecisionApfloatHelper.fmod(Apfloat x,
Apfloat y)
Modulus.
|
static Apfloat |
ApfloatMath.fmod(Apfloat x,
Apfloat y)
Returns x modulo y.
|
static Apint |
ApintMath.gcd(Apint a,
Apint b)
Greatest common divisor.
|
protected ApfloatImpl |
Aprational.getImpl(long precision)
Returns an
ApfloatImpl representing the approximation of this
aprational up to the requested precision. |
protected ApfloatImpl |
Apint.getImpl(long precision)
Returns an
ApfloatImpl representing this apint up to the requested precision. |
protected ApfloatImpl |
Apfloat.getImpl(long precision)
Returns an
ApfloatImpl representing the actual instance
of this apfloat up to the requested precision. |
Apcomplex |
FixedPrecisionApcomplexHelper.inverseRoot(Apcomplex z,
long n)
Inverse root.
|
static Apcomplex |
ApcomplexMath.inverseRoot(Apcomplex z,
long n)
Inverse positive integer root.
|
Apcomplex |
FixedPrecisionApcomplexHelper.inverseRoot(Apcomplex z,
long n,
long k)
Inverse root with branch.
|
static Apcomplex |
ApcomplexMath.inverseRoot(Apcomplex z,
long n,
long k)
Inverse positive integer root.
|
Apfloat |
FixedPrecisionApfloatHelper.inverseRoot(Apfloat x,
long n)
Inverse root.
|
static Apfloat |
ApfloatMath.inverseRoot(Apfloat x,
long n)
Inverse positive integer root.
|
static Apfloat |
ApfloatMath.inverseRoot(Apfloat x,
long n,
long targetPrecision)
Inverse positive integer root.
|
static Apfloat |
ApfloatMath.inverseRoot(Apfloat x,
long n,
long targetPrecision,
Apfloat initialGuess)
Inverse positive integer root.
|
static Apfloat |
ApfloatMath.inverseRoot(Apfloat x,
long n,
long targetPrecision,
Apfloat initialGuess,
long initialPrecision)
Inverse positive integer root.
|
boolean |
Aprational.isShort()
Returns if this aprational is "short".
|
boolean |
Apint.isShort()
Returns if this apint is "short".
|
boolean |
Apfloat.isShort()
Returns if this apfloat is "short".
|
static Apint |
ApintMath.lcm(Apint a,
Apint b)
Least common multiple.
|
static Properties |
ApfloatContext.loadProperties()
Loads properties from a properties file or resource bundle.
|
Apcomplex |
FixedPrecisionApcomplexHelper.log(Apcomplex z)
Natural logarithm.
|
static Apcomplex |
ApcomplexMath.log(Apcomplex z)
Natural logarithm.
|
Apcomplex |
FixedPrecisionApcomplexHelper.log(Apcomplex z,
Apcomplex w)
Logarithm in specified base.
|
static Apcomplex |
ApcomplexMath.log(Apcomplex z,
Apcomplex w)
Logarithm in arbitrary base.
|
Apfloat |
FixedPrecisionApfloatHelper.log(Apfloat x)
Natural logarithm.
|
static Apfloat |
ApfloatMath.log(Apfloat x)
Natural logarithm.
|
Apfloat |
FixedPrecisionApfloatHelper.log(Apfloat x,
Apfloat b)
Logarithm in specified base.
|
static Apfloat |
ApfloatMath.log(Apfloat x,
Apfloat b)
Logarithm in arbitrary base.
|
Apfloat |
FixedPrecisionApfloatHelper.logRadix(int radix)
Logarithm.
|
static Apfloat |
ApfloatMath.logRadix(long precision,
int radix)
Gets or calculates logarithm of a radix to required precision.
|
Apfloat |
Apfloat.mod(Apfloat x)
Calculates the remainder when divided by an apfloat.
|
Apfloat |
FixedPrecisionApfloatHelper.mod(Apfloat x,
Apfloat y)
Modulus.
|
Apint |
Apint.mod(Apint x)
Calculates the remainder when divided by an apint.
|
Aprational |
Aprational.mod(Aprational x)
Calculates the remainder when divided by an aprational.
|
Apfloat[] |
FixedPrecisionApfloatHelper.modf(Apfloat x)
Split to integer and fractional parts.
|
static Apfloat[] |
ApfloatMath.modf(Apfloat x)
Split to integer and fractional parts.
|
static Apint |
ApintMath.modMultiply(Apint a,
Apint b,
Apint m)
Modular multiplication.
|
static Apint |
ApintMath.modPow(Apint a,
Apint b,
Apint m)
Modular power.
|
Apcomplex |
Apcomplex.multiply(Apcomplex z)
Multiplies two apcomplex numbers.
|
Apcomplex |
FixedPrecisionApcomplexHelper.multiply(Apcomplex z,
Apcomplex w)
Multiplication.
|
Apfloat |
Apfloat.multiply(Apfloat x)
Multiplies two apfloats.
|
Apfloat |
FixedPrecisionApfloatHelper.multiply(Apfloat x,
Apfloat y)
Multiplication.
|
Apint |
Apint.multiply(Apint x)
Multiplies two apints.
|
Aprational |
Aprational.multiply(Aprational x)
Multiplies two aprational numbers.
|
Apfloat |
FixedPrecisionApfloatHelper.multiplyAdd(Apfloat a,
Apfloat b,
Apfloat c,
Apfloat d)
Fused multiply-add.
|
static Apfloat |
ApfloatMath.multiplyAdd(Apfloat a,
Apfloat b,
Apfloat c,
Apfloat d)
Fused multiply-add.
|
Apfloat |
FixedPrecisionApfloatHelper.multiplySubtract(Apfloat a,
Apfloat b,
Apfloat c,
Apfloat d)
Fused multiply-subtract.
|
static Apfloat |
ApfloatMath.multiplySubtract(Apfloat a,
Apfloat b,
Apfloat c,
Apfloat d)
Fused multiply-subtract.
|
Aprational |
Aprational.negate()
Negative value.
|
Apint |
Apint.negate()
Negative value.
|
Apfloat |
Apfloat.negate()
Negative value.
|
Apcomplex |
Apcomplex.negate()
Negative value.
|
Apcomplex |
FixedPrecisionApcomplexHelper.negate(Apcomplex z)
Negation.
|
static Apcomplex |
ApcomplexMath.negate(Apcomplex z)
Deprecated.
Use
Apcomplex.negate() . |
Apfloat |
FixedPrecisionApfloatHelper.negate(Apfloat x)
Negation.
|
static Apfloat |
ApfloatMath.negate(Apfloat x)
Deprecated.
Use
Apfloat.negate() . |
static Apint |
ApintMath.negate(Apint x)
Deprecated.
Use
Apint.negate() . |
static Aprational |
AprationalMath.negate(Aprational x)
Deprecated.
Use
Aprational.negate() . |
Apfloat |
FixedPrecisionApcomplexHelper.norm(Apcomplex z)
Norm.
|
static Apfloat |
ApcomplexMath.norm(Apcomplex z)
Norm.
|
Apfloat |
FixedPrecisionApfloatHelper.pi()
π.
|
Apfloat |
FixedPrecisionApfloatHelper.pi(int radix)
π.
|
static Apfloat |
ApfloatMath.pi(long precision)
Calculates π.
|
static Apfloat |
ApfloatMath.pi(long precision,
int radix)
Calculates π.
|
Apcomplex |
FixedPrecisionApcomplexHelper.pow(Apcomplex z,
Apcomplex w)
Power.
|
static Apcomplex |
ApcomplexMath.pow(Apcomplex z,
Apcomplex w)
Arbitrary power.
|
Apcomplex |
FixedPrecisionApcomplexHelper.pow(Apcomplex z,
long n)
Integer power.
|
static Apcomplex |
ApcomplexMath.pow(Apcomplex z,
long n)
Integer power.
|
Apfloat |
FixedPrecisionApfloatHelper.pow(Apfloat x,
Apfloat y)
Power.
|
static Apfloat |
ApfloatMath.pow(Apfloat x,
Apfloat y)
Arbitrary power.
|
Apfloat |
FixedPrecisionApfloatHelper.pow(Apfloat x,
long n)
Integer power.
|
static Apfloat |
ApfloatMath.pow(Apfloat x,
long n)
Integer power.
|
static Apint |
ApintMath.pow(Apint x,
long n)
Integer power.
|
static Aprational |
AprationalMath.pow(Aprational x,
long n)
Integer power.
|
long |
Aprational.precision()
Returns the precision of this aprational.
|
long |
Apfloat.precision()
Returns the precision of this apfloat.
|
long |
Apcomplex.precision()
Returns the precision of this apcomplex.
|
Apfloat |
Apfloat.precision(long precision)
Returns an apfloat with the same value as this apfloat accurate to the
specified precision.
|
Apcomplex |
Apcomplex.precision(long precision)
Returns an apcomplex with the same value as this apcomplex accurate to the
specified precision.
|
Apcomplex |
FixedPrecisionApcomplexHelper.product(Apcomplex... z)
Product.
|
static Apcomplex |
ApcomplexMath.product(Apcomplex... z)
Product of numbers.
|
Apfloat |
FixedPrecisionApfloatHelper.product(Apfloat... x)
Product.
|
static Apfloat |
ApfloatMath.product(Apfloat... x)
Product of numbers.
|
static Apint |
ApintMath.product(Apint... x)
Product of numbers.
|
static Aprational |
AprationalMath.product(Aprational... x)
Product of numbers.
|
Apcomplex |
FixedPrecisionApcomplexHelper.root(Apcomplex z,
long n)
Root.
|
static Apcomplex |
ApcomplexMath.root(Apcomplex z,
long n)
Positive integer root.
|
Apcomplex |
FixedPrecisionApcomplexHelper.root(Apcomplex z,
long n,
long k)
Root with branch.
|
static Apcomplex |
ApcomplexMath.root(Apcomplex z,
long n,
long k)
Positive integer root.
|
Apfloat |
FixedPrecisionApfloatHelper.root(Apfloat x,
long n)
Root.
|
static Apfloat |
ApfloatMath.root(Apfloat x,
long n)
Positive integer root.
|
static Apint[] |
ApintMath.root(Apint x,
long n)
Positive integer root and remainder.
|
long |
Aprational.scale()
Returns the scale of this aprational.
|
long |
Apint.scale()
Returns the scale of this apint.
|
long |
Apfloat.scale()
Returns the scale of this apfloat.
|
long |
Apcomplex.scale()
Returns the scale of this apcomplex.
|
Apcomplex |
FixedPrecisionApcomplexHelper.scale(Apcomplex z,
long scale)
Move the radix point.
|
static Apcomplex |
ApcomplexMath.scale(Apcomplex z,
long scale)
Multiply by a power of the radix.
|
Apfloat |
FixedPrecisionApfloatHelper.scale(Apfloat x,
long scale)
Move the radix point.
|
static Apfloat |
ApfloatMath.scale(Apfloat x,
long scale)
Multiply by a power of the radix.
|
static Apint |
ApintMath.scale(Apint x,
long scale)
Multiply by a power of the radix.
|
static Aprational |
AprationalMath.scale(Aprational x,
long scale)
Multiply by a power of the radix.
|
Apcomplex |
FixedPrecisionApcomplexHelper.sin(Apcomplex z)
Sine.
|
static Apcomplex |
ApcomplexMath.sin(Apcomplex z)
Sine.
|
Apfloat |
FixedPrecisionApfloatHelper.sin(Apfloat x)
Sine.
|
static Apfloat |
ApfloatMath.sin(Apfloat x)
Sine.
|
Apcomplex |
FixedPrecisionApcomplexHelper.sinh(Apcomplex z)
Hyperbolic sine.
|
static Apcomplex |
ApcomplexMath.sinh(Apcomplex z)
Hyperbolic sine.
|
Apfloat |
FixedPrecisionApfloatHelper.sinh(Apfloat x)
Hyperbolic sine.
|
static Apfloat |
ApfloatMath.sinh(Apfloat x)
Hyperbolic sine.
|
long |
Aprational.size()
Returns the size of this aprational.
|
long |
Apint.size()
Returns the size of this apint.
|
long |
Apfloat.size()
Returns the size of this apfloat.
|
long |
Apcomplex.size()
Returns the size of this apcomplex.
|
Apcomplex |
FixedPrecisionApcomplexHelper.sqrt(Apcomplex z)
Square root.
|
static Apcomplex |
ApcomplexMath.sqrt(Apcomplex z)
Square root.
|
Apfloat |
FixedPrecisionApfloatHelper.sqrt(Apfloat x)
Square root.
|
static Apfloat |
ApfloatMath.sqrt(Apfloat x)
Square root.
|
static Apint[] |
ApintMath.sqrt(Apint x)
Square root and remainder.
|
Apcomplex |
Apcomplex.subtract(Apcomplex z)
Subtracts two apcomplex numbers.
|
Apcomplex |
FixedPrecisionApcomplexHelper.subtract(Apcomplex z,
Apcomplex w)
Subtraction.
|
Apfloat |
Apfloat.subtract(Apfloat x)
Subtracts two apfloats.
|
Apfloat |
FixedPrecisionApfloatHelper.subtract(Apfloat x,
Apfloat y)
Subtraction.
|
Apint |
Apint.subtract(Apint x)
Subtracts two apints.
|
Aprational |
Aprational.subtract(Aprational x)
Subtracts two aprational numbers.
|
Apcomplex |
FixedPrecisionApcomplexHelper.sum(Apcomplex... z)
Sum.
|
static Apcomplex |
ApcomplexMath.sum(Apcomplex... z)
Sum of numbers.
|
Apfloat |
FixedPrecisionApfloatHelper.sum(Apfloat... x)
Sum.
|
static Apfloat |
ApfloatMath.sum(Apfloat... x)
Sum of numbers.
|
static Apint |
ApintMath.sum(Apint... x)
Sum of numbers.
|
static Aprational |
AprationalMath.sum(Aprational... x)
Sum of numbers.
|
Apcomplex |
FixedPrecisionApcomplexHelper.tan(Apcomplex z)
Tangent.
|
static Apcomplex |
ApcomplexMath.tan(Apcomplex z)
Tangent.
|
Apfloat |
FixedPrecisionApfloatHelper.tan(Apfloat x)
Tangent.
|
static Apfloat |
ApfloatMath.tan(Apfloat x)
Tangent.
|
Apcomplex |
FixedPrecisionApcomplexHelper.tanh(Apcomplex z)
Hyperbolic tangent.
|
static Apcomplex |
ApcomplexMath.tanh(Apcomplex z)
Hyperbolic tangent.
|
Apfloat |
FixedPrecisionApfloatHelper.tanh(Apfloat x)
Hyperbolic tangent.
|
static Apfloat |
ApfloatMath.tanh(Apfloat x)
Hyperbolic tangent.
|
Aprational |
Aprational.toRadix(int radix)
Convert this aprational to the specified radix.
|
Apint |
Apint.toRadix(int radix)
Convert this apint to the specified radix.
|
Apfloat |
Apfloat.toRadix(int radix)
Convert this apfloat to the specified radix.
|
Apcomplex |
Apcomplex.toRadix(int radix)
Convert this apcomplex to the specified radix.
|
String |
Aprational.toString(boolean pretty)
Returns a string representation of this aprational.
|
String |
Apint.toString(boolean pretty)
Returns a string representation of this aprational.
|
String |
Apfloat.toString(boolean pretty)
Returns a string representation of this apfloat.
|
String |
Apcomplex.toString(boolean pretty)
Returns a string representation of this apcomplex.
|
Apint |
Aprational.truncate()
Truncates fractional part.
|
Apint |
Apfloat.truncate()
Truncates fractional part.
|
Apfloat |
FixedPrecisionApfloatHelper.truncate(Apfloat x)
Truncate fractional part.
|
static Apint |
ApfloatMath.truncate(Apfloat x)
Truncates fractional part.
|
Apcomplex |
FixedPrecisionApcomplexHelper.valueOf(Apcomplex z)
Rounds the value to the specified precision.
|
void |
Aprational.writeTo(Writer out)
Write a string representation of this aprational to a
Writer . |
void |
Apcomplex.writeTo(Writer out)
Write a string representation of this apcomplex to a
Writer . |
void |
Aprational.writeTo(Writer out,
boolean pretty)
Write a string representation of this aprational to a
Writer . |
void |
Apint.writeTo(Writer out,
boolean pretty)
Write a string representation of this aprational to a
Writer . |
void |
Apfloat.writeTo(Writer out,
boolean pretty)
Write a string representation of this apfloat to a
Writer . |
void |
Apcomplex.writeTo(Writer out,
boolean pretty)
Write a string representation of this apcomplex to a
Writer . |
Constructor and Description |
---|
Apcomplex(PushbackReader in)
Reads an apcomplex from a reader.
|
Apcomplex(String value)
Constructs an apcomplex from a string.
|
Apfloat(BigDecimal value)
Creates an apfloat from a
BigDecimal . |
Apfloat(BigDecimal value,
long precision)
Creates an apfloat from a
BigDecimal . |
Apfloat(BigInteger value)
Constructs an apfloat from a
BigInteger . |
Apfloat(BigInteger value,
long precision)
Constructs an apfloat from a
BigInteger with
the specified precision. |
Apfloat(BigInteger value,
long precision,
int radix)
Constructs an apfloat from a
BigInteger with
the specified precision and radix. |
Apfloat(double value)
Constructs an apfloat from the specified
double . |
Apfloat(double value,
long precision)
Constructs an apfloat from the specified
double
and precision. |
Apfloat(double value,
long precision,
int radix)
Constructs an apfloat from the specified
double ,
precision and radix. |
Apfloat(float value)
Constructs an apfloat from the specified
float . |
Apfloat(float value,
long precision)
Constructs an apfloat from the specified
float
and precision. |
Apfloat(float value,
long precision,
int radix)
Constructs an apfloat from the specified
float ,
precision and radix. |
Apfloat(long value)
Constructs an apfloat from the specified
long . |
Apfloat(long value,
long precision)
Constructs an apfloat from the specified
long
and precision. |
Apfloat(long value,
long precision,
int radix)
Constructs an apfloat from the specified
long ,
precision and radix. |
Apfloat(PushbackReader in)
Reads an apfloat from a stream using default precision and radix.
|
Apfloat(PushbackReader in,
long precision)
Reads an apfloat from a stream using the specified precision.
|
Apfloat(PushbackReader in,
long precision,
int radix)
Reads an apfloat from a stream using the specified precision
and radix.
|
Apfloat(String value)
Constructs an apfloat from the specified string.
|
Apfloat(String value,
long precision)
Constructs an apfloat from the specified string and precision.
|
Apfloat(String value,
long precision,
int radix)
Constructs an apfloat from the specified string, precision and radix.
|
Apint(BigInteger value)
Constructs an apint from a
BigInteger . |
Apint(BigInteger value,
int radix)
Constructs an apint from a
BigInteger using the specified radix. |
Apint(long value)
Constructs an apfloat from the specified
long . |
Apint(long value,
int radix)
Constructs an apfloat from the specified
long
and radix. |
Apint(PushbackReader in)
Reads an apint from a stream using the default radix.
|
Apint(PushbackReader in,
int radix)
Reads an apint from a stream using the specified radix.
|
Apint(String value)
Constructs an apfloat from the specified string.
|
Apint(String value,
int radix)
Constructs an apfloat from the specified string and radix.
|
Aprational(Apint value)
Construct an integer aprational whose denominator is one.
|
Aprational(Apint numerator,
Apint denominator)
Construct an aprational with the specified numerator and denominator.
|
Aprational(BigInteger value)
Constructs an aprational from a
BigInteger . |
Aprational(BigInteger value,
int radix)
Constructs an aprational from a
BigInteger using the specified radix. |
Aprational(PushbackReader in)
Reads an aprational from a reader.
|
Aprational(PushbackReader in,
int radix)
Reads an aprational from a reader.
|
Aprational(String value)
Constructs an aprational from a string.
|
Aprational(String value,
int radix)
Constructs an aprational from a string with the specified radix.
|
Modifier and Type | Class and Description |
---|---|
class |
ApfloatInternalException
Exception indicating some unexpected apfloat
implementation specific error situation.
|
class |
BackingStorageException
Exception indicating a backing storage failure.
|
class |
ImplementationMismatchException
Exception indicating a different implementation of the apfloat SPI
being used in two operands of a calculation.
|
class |
RadixMismatchException
Exception indicating a different radix being used in two operands
of a calculation.
|
class |
TransformLengthExceededException
Exception indicating that the "size" of the numbers used in a
multiplication is too large.
|
Modifier and Type | Method and Description |
---|---|
ApfloatImpl |
LongApfloatImpl.absCeil() |
ApfloatImpl |
IntApfloatImpl.absCeil() |
ApfloatImpl |
FloatApfloatImpl.absCeil() |
ApfloatImpl |
DoubleApfloatImpl.absCeil() |
ApfloatImpl |
LongApfloatImpl.absFloor() |
ApfloatImpl |
IntApfloatImpl.absFloor() |
ApfloatImpl |
FloatApfloatImpl.absFloor() |
ApfloatImpl |
DoubleApfloatImpl.absFloor() |
ApfloatImpl |
LongApfloatImpl.addOrSubtract(ApfloatImpl x,
boolean subtract) |
ApfloatImpl |
IntApfloatImpl.addOrSubtract(ApfloatImpl x,
boolean subtract) |
ApfloatImpl |
FloatApfloatImpl.addOrSubtract(ApfloatImpl x,
boolean subtract) |
ApfloatImpl |
DoubleApfloatImpl.addOrSubtract(ApfloatImpl x,
boolean subtract) |
double |
DoubleBaseMath.baseAdd(DataStorage.Iterator src1,
DataStorage.Iterator src2,
double carry,
DataStorage.Iterator dst,
long size)
Addition in some base.
|
float |
FloatBaseMath.baseAdd(DataStorage.Iterator src1,
DataStorage.Iterator src2,
float carry,
DataStorage.Iterator dst,
long size)
Addition in some base.
|
int |
IntBaseMath.baseAdd(DataStorage.Iterator src1,
DataStorage.Iterator src2,
int carry,
DataStorage.Iterator dst,
long size)
Addition in some base.
|
long |
LongBaseMath.baseAdd(DataStorage.Iterator src1,
DataStorage.Iterator src2,
long carry,
DataStorage.Iterator dst,
long size)
Addition in some base.
|
double |
DoubleBaseMath.baseDivide(DataStorage.Iterator src1,
double src2,
double carry,
DataStorage.Iterator dst,
long size)
Division in some base.
|
float |
FloatBaseMath.baseDivide(DataStorage.Iterator src1,
float src2,
float carry,
DataStorage.Iterator dst,
long size)
Division in some base.
|
int |
IntBaseMath.baseDivide(DataStorage.Iterator src1,
int src2,
int carry,
DataStorage.Iterator dst,
long size)
Division in some base.
|
long |
LongBaseMath.baseDivide(DataStorage.Iterator src1,
long src2,
long carry,
DataStorage.Iterator dst,
long size)
Division in some base.
|
double |
DoubleBaseMath.baseMultiplyAdd(DataStorage.Iterator src1,
DataStorage.Iterator src2,
double src3,
double carry,
DataStorage.Iterator dst,
long size)
Multiplication and addition in some base.
|
float |
FloatBaseMath.baseMultiplyAdd(DataStorage.Iterator src1,
DataStorage.Iterator src2,
float src3,
float carry,
DataStorage.Iterator dst,
long size)
Multiplication and addition in some base.
|
int |
IntBaseMath.baseMultiplyAdd(DataStorage.Iterator src1,
DataStorage.Iterator src2,
int src3,
int carry,
DataStorage.Iterator dst,
long size)
Multiplication and addition in some base.
|
long |
LongBaseMath.baseMultiplyAdd(DataStorage.Iterator src1,
DataStorage.Iterator src2,
long src3,
long carry,
DataStorage.Iterator dst,
long size)
Multiplication and addition in some base.
|
double |
DoubleBaseMath.baseSubtract(DataStorage.Iterator src1,
DataStorage.Iterator src2,
double carry,
DataStorage.Iterator dst,
long size)
Subtraction in some base.
|
float |
FloatBaseMath.baseSubtract(DataStorage.Iterator src1,
DataStorage.Iterator src2,
float carry,
DataStorage.Iterator dst,
long size)
Subtraction in some base.
|
int |
IntBaseMath.baseSubtract(DataStorage.Iterator src1,
DataStorage.Iterator src2,
int carry,
DataStorage.Iterator dst,
long size)
Subtraction in some base.
|
long |
LongBaseMath.baseSubtract(DataStorage.Iterator src1,
DataStorage.Iterator src2,
long carry,
DataStorage.Iterator dst,
long size)
Subtraction in some base.
|
DataStorage |
LongCarryCRT.carryCRT(DataStorage resultMod0,
DataStorage resultMod1,
DataStorage resultMod2,
long resultSize)
Calculate the final result of a three-NTT convolution.
|
DataStorage |
IntCarryCRT.carryCRT(DataStorage resultMod0,
DataStorage resultMod1,
DataStorage resultMod2,
long resultSize)
Calculate the final result of a three-NTT convolution.
|
DataStorage |
FloatCarryCRT.carryCRT(DataStorage resultMod0,
DataStorage resultMod1,
DataStorage resultMod2,
long resultSize)
Calculate the final result of a three-NTT convolution.
|
DataStorage |
DoubleCarryCRT.carryCRT(DataStorage resultMod0,
DataStorage resultMod1,
DataStorage resultMod2,
long resultSize)
Calculate the final result of a three-NTT convolution.
|
void |
LongMemoryArrayAccess.close() |
void |
IntMemoryArrayAccess.close() |
void |
FloatMemoryArrayAccess.close() |
void |
DoubleMemoryArrayAccess.close() |
int |
LongApfloatImpl.compareTo(ApfloatImpl x) |
int |
IntApfloatImpl.compareTo(ApfloatImpl x) |
int |
FloatApfloatImpl.compareTo(ApfloatImpl x) |
int |
DoubleApfloatImpl.compareTo(ApfloatImpl x) |
DataStorage |
LongShortConvolutionStrategy.convolute(DataStorage x,
DataStorage y,
long resultSize) |
DataStorage |
LongMediumConvolutionStrategy.convolute(DataStorage x,
DataStorage y,
long resultSize) |
DataStorage |
LongKaratsubaConvolutionStrategy.convolute(DataStorage x,
DataStorage y,
long resultSize) |
DataStorage |
Long3NTTConvolutionStrategy.convolute(DataStorage x,
DataStorage y,
long resultSize) |
DataStorage |
IntShortConvolutionStrategy.convolute(DataStorage x,
DataStorage y,
long resultSize) |
DataStorage |
IntMediumConvolutionStrategy.convolute(DataStorage x,
DataStorage y,
long resultSize) |
DataStorage |
IntKaratsubaConvolutionStrategy.convolute(DataStorage x,
DataStorage y,
long resultSize) |
DataStorage |
Int3NTTConvolutionStrategy.convolute(DataStorage x,
DataStorage y,
long resultSize) |
DataStorage |
FloatShortConvolutionStrategy.convolute(DataStorage x,
DataStorage y,
long resultSize) |
DataStorage |
FloatMediumConvolutionStrategy.convolute(DataStorage x,
DataStorage y,
long resultSize) |
DataStorage |
FloatKaratsubaConvolutionStrategy.convolute(DataStorage x,
DataStorage y,
long resultSize) |
DataStorage |
Float3NTTConvolutionStrategy.convolute(DataStorage x,
DataStorage y,
long resultSize) |
DataStorage |
DoubleShortConvolutionStrategy.convolute(DataStorage x,
DataStorage y,
long resultSize) |
DataStorage |
DoubleMediumConvolutionStrategy.convolute(DataStorage x,
DataStorage y,
long resultSize) |
DataStorage |
DoubleKaratsubaConvolutionStrategy.convolute(DataStorage x,
DataStorage y,
long resultSize) |
DataStorage |
Double3NTTConvolutionStrategy.convolute(DataStorage x,
DataStorage y,
long resultSize) |
ApfloatImpl |
LongApfloatBuilder.createApfloat(double value,
long precision,
int radix) |
ApfloatImpl |
IntApfloatBuilder.createApfloat(double value,
long precision,
int radix) |
ApfloatImpl |
FloatApfloatBuilder.createApfloat(double value,
long precision,
int radix) |
ApfloatImpl |
DoubleApfloatBuilder.createApfloat(double value,
long precision,
int radix) |
ApfloatImpl |
LongApfloatBuilder.createApfloat(long value,
long precision,
int radix) |
ApfloatImpl |
IntApfloatBuilder.createApfloat(long value,
long precision,
int radix) |
ApfloatImpl |
FloatApfloatBuilder.createApfloat(long value,
long precision,
int radix) |
ApfloatImpl |
DoubleApfloatBuilder.createApfloat(long value,
long precision,
int radix) |
ApfloatImpl |
LongApfloatBuilder.createApfloat(PushbackReader in,
long precision,
int radix,
boolean isInteger) |
ApfloatImpl |
IntApfloatBuilder.createApfloat(PushbackReader in,
long precision,
int radix,
boolean isInteger) |
ApfloatImpl |
FloatApfloatBuilder.createApfloat(PushbackReader in,
long precision,
int radix,
boolean isInteger) |
ApfloatImpl |
DoubleApfloatBuilder.createApfloat(PushbackReader in,
long precision,
int radix,
boolean isInteger) |
ApfloatImpl |
LongApfloatBuilder.createApfloat(String value,
long precision,
int radix,
boolean isInteger) |
ApfloatImpl |
IntApfloatBuilder.createApfloat(String value,
long precision,
int radix,
boolean isInteger) |
ApfloatImpl |
FloatApfloatBuilder.createApfloat(String value,
long precision,
int radix,
boolean isInteger) |
ApfloatImpl |
DoubleApfloatBuilder.createApfloat(String value,
long precision,
int radix,
boolean isInteger) |
DataStorage |
LongDataStorageBuilder.createCachedDataStorage(long size) |
DataStorage |
IntDataStorageBuilder.createCachedDataStorage(long size) |
DataStorage |
FloatDataStorageBuilder.createCachedDataStorage(long size) |
DataStorage |
DoubleDataStorageBuilder.createCachedDataStorage(long size) |
DataStorage |
LongDataStorageBuilder.createDataStorage(DataStorage dataStorage) |
DataStorage |
IntDataStorageBuilder.createDataStorage(DataStorage dataStorage) |
DataStorage |
FloatDataStorageBuilder.createDataStorage(DataStorage dataStorage) |
DataStorage |
DoubleDataStorageBuilder.createDataStorage(DataStorage dataStorage) |
DataStorage |
LongDataStorageBuilder.createDataStorage(long size) |
DataStorage |
IntDataStorageBuilder.createDataStorage(long size) |
DataStorage |
FloatDataStorageBuilder.createDataStorage(long size) |
DataStorage |
DoubleDataStorageBuilder.createDataStorage(long size) |
ApfloatImpl |
LongApfloatImpl.divideShort(ApfloatImpl x) |
ApfloatImpl |
IntApfloatImpl.divideShort(ApfloatImpl x) |
ApfloatImpl |
FloatApfloatImpl.divideShort(ApfloatImpl x) |
ApfloatImpl |
DoubleApfloatImpl.divideShort(ApfloatImpl x) |
long |
LongApfloatImpl.equalDigits(ApfloatImpl x) |
long |
IntApfloatImpl.equalDigits(ApfloatImpl x) |
long |
FloatApfloatImpl.equalDigits(ApfloatImpl x) |
long |
DoubleApfloatImpl.equalDigits(ApfloatImpl x) |
void |
LongBuilderFactory.gc() |
void |
IntBuilderFactory.gc() |
void |
FloatBuilderFactory.gc() |
void |
DoubleBuilderFactory.gc() |
protected void |
LongMemoryDataStorage.implCopyFrom(DataStorage dataStorage,
long size) |
protected void |
IntMemoryDataStorage.implCopyFrom(DataStorage dataStorage,
long size) |
protected void |
FloatMemoryDataStorage.implCopyFrom(DataStorage dataStorage,
long size) |
protected void |
DoubleMemoryDataStorage.implCopyFrom(DataStorage dataStorage,
long size) |
protected void |
DiskDataStorage.implCopyFrom(DataStorage dataStorage,
long size) |
protected ArrayAccess |
LongMemoryDataStorage.implGetArray(int mode,
long offset,
int length) |
protected ArrayAccess |
LongDiskDataStorage.implGetArray(int mode,
long offset,
int length) |
protected ArrayAccess |
IntMemoryDataStorage.implGetArray(int mode,
long offset,
int length) |
protected ArrayAccess |
IntDiskDataStorage.implGetArray(int mode,
long offset,
int length) |
protected ArrayAccess |
FloatMemoryDataStorage.implGetArray(int mode,
long offset,
int length) |
protected ArrayAccess |
FloatDiskDataStorage.implGetArray(int mode,
long offset,
int length) |
protected ArrayAccess |
DoubleMemoryDataStorage.implGetArray(int mode,
long offset,
int length) |
protected ArrayAccess |
DoubleDiskDataStorage.implGetArray(int mode,
long offset,
int length) |
protected long |
DiskDataStorage.implGetSize() |
protected ArrayAccess |
LongMemoryDataStorage.implGetTransposedArray(int mode,
int startColumn,
int columns,
int rows) |
protected ArrayAccess |
LongDiskDataStorage.implGetTransposedArray(int mode,
int startColumn,
int columns,
int rows) |
protected ArrayAccess |
IntMemoryDataStorage.implGetTransposedArray(int mode,
int startColumn,
int columns,
int rows) |
protected ArrayAccess |
IntDiskDataStorage.implGetTransposedArray(int mode,
int startColumn,
int columns,
int rows) |
protected ArrayAccess |
FloatMemoryDataStorage.implGetTransposedArray(int mode,
int startColumn,
int columns,
int rows) |
protected ArrayAccess |
FloatDiskDataStorage.implGetTransposedArray(int mode,
int startColumn,
int columns,
int rows) |
protected ArrayAccess |
DoubleMemoryDataStorage.implGetTransposedArray(int mode,
int startColumn,
int columns,
int rows) |
protected ArrayAccess |
DoubleDiskDataStorage.implGetTransposedArray(int mode,
int startColumn,
int columns,
int rows) |
protected void |
LongMemoryDataStorage.implSetSize(long size) |
protected void |
IntMemoryDataStorage.implSetSize(long size) |
protected void |
FloatMemoryDataStorage.implSetSize(long size) |
protected void |
DoubleMemoryDataStorage.implSetSize(long size) |
protected void |
DiskDataStorage.implSetSize(long size) |
protected DataStorage |
LongMemoryDataStorage.implSubsequence(long offset,
long length) |
protected DataStorage |
LongDiskDataStorage.implSubsequence(long offset,
long length) |
protected DataStorage |
IntMemoryDataStorage.implSubsequence(long offset,
long length) |
protected DataStorage |
IntDiskDataStorage.implSubsequence(long offset,
long length) |
protected DataStorage |
FloatMemoryDataStorage.implSubsequence(long offset,
long length) |
protected DataStorage |
FloatDiskDataStorage.implSubsequence(long offset,
long length) |
protected DataStorage |
DoubleMemoryDataStorage.implSubsequence(long offset,
long length) |
protected DataStorage |
DoubleDiskDataStorage.implSubsequence(long offset,
long length) |
protected void |
DoubleTableFNTStrategy.inverseTableFNT(ArrayAccess arrayAccess,
double[] wTable,
int[] permutationTable)
Inverse (Cooley-Tukey) fast Number Theoretic Transform.
|
protected void |
FloatTableFNTStrategy.inverseTableFNT(ArrayAccess arrayAccess,
float[] wTable,
int[] permutationTable)
Inverse (Cooley-Tukey) fast Number Theoretic Transform.
|
protected void |
IntTableFNTStrategy.inverseTableFNT(ArrayAccess arrayAccess,
int[] wTable,
int[] permutationTable)
Inverse (Cooley-Tukey) fast Number Theoretic Transform.
|
protected void |
LongTableFNTStrategy.inverseTableFNT(ArrayAccess arrayAccess,
long[] wTable,
int[] permutationTable)
Inverse (Cooley-Tukey) fast Number Theoretic Transform.
|
void |
LongTwoPassFNTStrategy.inverseTransform(DataStorage dataStorage,
int modulus,
long totalTransformLength) |
void |
LongTableFNTStrategy.inverseTransform(DataStorage dataStorage,
int modulus,
long totalTransformLength) |
void |
LongSixStepFNTStrategy.inverseTransform(DataStorage dataStorage,
int modulus,
long totalTransformLength) |
void |
LongFactor3SixStepNTTStrategy.inverseTransform(DataStorage dataStorage,
int modulus,
long totalTransformLength) |
void |
LongFactor3NTTStrategy.inverseTransform(DataStorage dataStorage,
int modulus,
long totalTransformLength) |
void |
IntTwoPassFNTStrategy.inverseTransform(DataStorage dataStorage,
int modulus,
long totalTransformLength) |
void |
IntTableFNTStrategy.inverseTransform(DataStorage dataStorage,
int modulus,
long totalTransformLength) |
void |
IntSixStepFNTStrategy.inverseTransform(DataStorage dataStorage,
int modulus,
long totalTransformLength) |
void |
IntFactor3SixStepNTTStrategy.inverseTransform(DataStorage dataStorage,
int modulus,
long totalTransformLength) |
void |
IntFactor3NTTStrategy.inverseTransform(DataStorage dataStorage,
int modulus,
long totalTransformLength) |
void |
FloatTwoPassFNTStrategy.inverseTransform(DataStorage dataStorage,
int modulus,
long totalTransformLength) |
void |
FloatTableFNTStrategy.inverseTransform(DataStorage dataStorage,
int modulus,
long totalTransformLength) |
void |
FloatSixStepFNTStrategy.inverseTransform(DataStorage dataStorage,
int modulus,
long totalTransformLength) |
void |
FloatFactor3SixStepNTTStrategy.inverseTransform(DataStorage dataStorage,
int modulus,
long totalTransformLength) |
void |
FloatFactor3NTTStrategy.inverseTransform(DataStorage dataStorage,
int modulus,
long totalTransformLength) |
void |
DoubleTwoPassFNTStrategy.inverseTransform(DataStorage dataStorage,
int modulus,
long totalTransformLength) |
void |
DoubleTableFNTStrategy.inverseTransform(DataStorage dataStorage,
int modulus,
long totalTransformLength) |
void |
DoubleSixStepFNTStrategy.inverseTransform(DataStorage dataStorage,
int modulus,
long totalTransformLength) |
void |
DoubleFactor3SixStepNTTStrategy.inverseTransform(DataStorage dataStorage,
int modulus,
long totalTransformLength) |
void |
DoubleFactor3NTTStrategy.inverseTransform(DataStorage dataStorage,
int modulus,
long totalTransformLength) |
boolean |
LongApfloatImpl.isOne() |
boolean |
IntApfloatImpl.isOne() |
boolean |
FloatApfloatImpl.isOne() |
boolean |
DoubleApfloatImpl.isOne() |
boolean |
LongApfloatImpl.isShort() |
boolean |
IntApfloatImpl.isShort() |
boolean |
FloatApfloatImpl.isShort() |
boolean |
DoubleApfloatImpl.isShort() |
DataStorage.Iterator |
LongMemoryDataStorage.iterator(int mode,
long startPosition,
long endPosition) |
DataStorage.Iterator |
LongDiskDataStorage.iterator(int mode,
long startPosition,
long endPosition) |
DataStorage.Iterator |
IntMemoryDataStorage.iterator(int mode,
long startPosition,
long endPosition) |
DataStorage.Iterator |
IntDiskDataStorage.iterator(int mode,
long startPosition,
long endPosition) |
DataStorage.Iterator |
FloatMemoryDataStorage.iterator(int mode,
long startPosition,
long endPosition) |
DataStorage.Iterator |
FloatDiskDataStorage.iterator(int mode,
long startPosition,
long endPosition) |
DataStorage.Iterator |
DoubleMemoryDataStorage.iterator(int mode,
long startPosition,
long endPosition) |
DataStorage.Iterator |
DoubleDiskDataStorage.iterator(int mode,
long startPosition,
long endPosition) |
ApfloatImpl |
LongApfloatImpl.multiply(ApfloatImpl x) |
ApfloatImpl |
IntApfloatImpl.multiply(ApfloatImpl x) |
ApfloatImpl |
FloatApfloatImpl.multiply(ApfloatImpl x) |
ApfloatImpl |
DoubleApfloatImpl.multiply(ApfloatImpl x) |
protected void |
DoubleParallelFNTStrategy.multiplyElements(ArrayAccess arrayAccess,
int startRow,
int rows,
int columns,
double w,
double scaleFactor)
Multiply each matrix element
(i, j) by wi * j * scaleFactor . |
protected void |
FloatParallelFNTStrategy.multiplyElements(ArrayAccess arrayAccess,
int startRow,
int rows,
int columns,
float w,
float scaleFactor)
Multiply each matrix element
(i, j) by wi * j * scaleFactor . |
protected void |
IntParallelFNTStrategy.multiplyElements(ArrayAccess arrayAccess,
int startRow,
int rows,
int columns,
int w,
int scaleFactor)
Multiply each matrix element
(i, j) by wi * j * scaleFactor . |
protected void |
LongParallelFNTStrategy.multiplyElements(ArrayAccess arrayAccess,
int startRow,
int rows,
int columns,
long w,
long scaleFactor)
Multiply each matrix element
(i, j) by wi * j * scaleFactor . |
ApfloatImpl |
LongApfloatImpl.negate() |
ApfloatImpl |
IntApfloatImpl.negate() |
ApfloatImpl |
FloatApfloatImpl.negate() |
ApfloatImpl |
DoubleApfloatImpl.negate() |
V |
MessagePasser.receiveMessage(K receiver)
Receive a message.
|
void |
ParallelRunner.runParallel(ParallelRunnable parallelRunnable)
Run Runnable objects in parallel.
|
long |
LongApfloatImpl.scale() |
long |
IntApfloatImpl.scale() |
long |
FloatApfloatImpl.scale() |
long |
DoubleApfloatImpl.scale() |
void |
LongBuilderFactory.shutdown() |
void |
IntBuilderFactory.shutdown() |
void |
FloatBuilderFactory.shutdown() |
void |
DoubleBuilderFactory.shutdown() |
long |
LongApfloatImpl.size() |
long |
IntApfloatImpl.size() |
long |
FloatApfloatImpl.size() |
long |
DoubleApfloatImpl.size() |
protected void |
DoubleTableFNTStrategy.tableFNT(ArrayAccess arrayAccess,
double[] wTable,
int[] permutationTable)
Forward (Sande-Tukey) fast Number Theoretic Transform.
|
protected void |
FloatTableFNTStrategy.tableFNT(ArrayAccess arrayAccess,
float[] wTable,
int[] permutationTable)
Forward (Sande-Tukey) fast Number Theoretic Transform.
|
protected void |
IntTableFNTStrategy.tableFNT(ArrayAccess arrayAccess,
int[] wTable,
int[] permutationTable)
Forward (Sande-Tukey) fast Number Theoretic Transform.
|
protected void |
LongTableFNTStrategy.tableFNT(ArrayAccess arrayAccess,
long[] wTable,
int[] permutationTable)
Forward (Sande-Tukey) fast Number Theoretic Transform.
|
String |
LongApfloatImpl.toString(boolean pretty) |
String |
IntApfloatImpl.toString(boolean pretty) |
String |
FloatApfloatImpl.toString(boolean pretty) |
String |
DoubleApfloatImpl.toString(boolean pretty) |
protected void |
DiskDataStorage.transferFrom(ReadableByteChannel in,
long position,
long size)
Transfer from a readable channel, possibly in multiple chunks.
|
protected void |
DiskDataStorage.transferTo(WritableByteChannel out,
long position,
long size)
Transfer to a writable channel, possibly in multiple chunks.
|
void |
LongTwoPassFNTStrategy.transform(DataStorage dataStorage,
int modulus) |
void |
LongTableFNTStrategy.transform(DataStorage dataStorage,
int modulus) |
void |
LongSixStepFNTStrategy.transform(DataStorage dataStorage,
int modulus) |
void |
LongFactor3SixStepNTTStrategy.transform(DataStorage dataStorage,
int modulus) |
void |
LongFactor3NTTStrategy.transform(DataStorage dataStorage,
int modulus) |
void |
IntTwoPassFNTStrategy.transform(DataStorage dataStorage,
int modulus) |
void |
IntTableFNTStrategy.transform(DataStorage dataStorage,
int modulus) |
void |
IntSixStepFNTStrategy.transform(DataStorage dataStorage,
int modulus) |
void |
IntFactor3SixStepNTTStrategy.transform(DataStorage dataStorage,
int modulus) |
void |
IntFactor3NTTStrategy.transform(DataStorage dataStorage,
int modulus) |
void |
FloatTwoPassFNTStrategy.transform(DataStorage dataStorage,
int modulus) |
void |
FloatTableFNTStrategy.transform(DataStorage dataStorage,
int modulus) |
void |
FloatSixStepFNTStrategy.transform(DataStorage dataStorage,
int modulus) |
void |
FloatFactor3SixStepNTTStrategy.transform(DataStorage dataStorage,
int modulus) |
void |
FloatFactor3NTTStrategy.transform(DataStorage dataStorage,
int modulus) |
void |
DoubleTwoPassFNTStrategy.transform(DataStorage dataStorage,
int modulus) |
void |
DoubleTableFNTStrategy.transform(DataStorage dataStorage,
int modulus) |
void |
DoubleSixStepFNTStrategy.transform(DataStorage dataStorage,
int modulus) |
void |
DoubleFactor3SixStepNTTStrategy.transform(DataStorage dataStorage,
int modulus) |
void |
DoubleFactor3NTTStrategy.transform(DataStorage dataStorage,
int modulus) |
protected void |
DoubleParallelFNTStrategy.transformRows(int length,
int count,
boolean isInverse,
ArrayAccess arrayAccess,
double[] wTable,
int[] permutationTable)
Transform the rows of the data matrix.
|
protected void |
FloatParallelFNTStrategy.transformRows(int length,
int count,
boolean isInverse,
ArrayAccess arrayAccess,
float[] wTable,
int[] permutationTable)
Transform the rows of the data matrix.
|
protected void |
IntParallelFNTStrategy.transformRows(int length,
int count,
boolean isInverse,
ArrayAccess arrayAccess,
int[] wTable,
int[] permutationTable)
Transform the rows of the data matrix.
|
protected void |
LongParallelFNTStrategy.transformRows(int length,
int count,
boolean isInverse,
ArrayAccess arrayAccess,
long[] wTable,
int[] permutationTable)
Transform the rows of the data matrix.
|
static void |
LongMatrix.transpose(ArrayAccess arrayAccess,
int n1,
int n2)
Transpose a n1 x n2 matrix.
|
static void |
IntMatrix.transpose(ArrayAccess arrayAccess,
int n1,
int n2)
Transpose a n1 x n2 matrix.
|
static void |
FloatMatrix.transpose(ArrayAccess arrayAccess,
int n1,
int n2)
Transpose a n1 x n2 matrix.
|
static void |
DoubleMatrix.transpose(ArrayAccess arrayAccess,
int n1,
int n2)
Transpose a n1 x n2 matrix.
|
static void |
LongMatrix.transposeSquare(ArrayAccess arrayAccess,
int n1,
int n2)
Transpose a square n1 x n1 block of n1 x n2 matrix.
|
static void |
IntMatrix.transposeSquare(ArrayAccess arrayAccess,
int n1,
int n2)
Transpose a square n1 x n1 block of n1 x n2 matrix.
|
static void |
FloatMatrix.transposeSquare(ArrayAccess arrayAccess,
int n1,
int n2)
Transpose a square n1 x n1 block of n1 x n2 matrix.
|
static void |
DoubleMatrix.transposeSquare(ArrayAccess arrayAccess,
int n1,
int n2)
Transpose a square n1 x n1 block of n1 x n2 matrix.
|
void |
LongApfloatImpl.writeTo(Writer out,
boolean pretty) |
void |
IntApfloatImpl.writeTo(Writer out,
boolean pretty) |
void |
FloatApfloatImpl.writeTo(Writer out,
boolean pretty) |
void |
DoubleApfloatImpl.writeTo(Writer out,
boolean pretty) |
Constructor and Description |
---|
DiskDataStorage()
Default constructor.
|
DoubleApfloatImpl(double value,
long precision,
int radix)
Create a new
DoubleApfloatImpl instance from a double . |
DoubleApfloatImpl(long value,
long precision,
int radix)
Create a new
DoubleApfloatImpl instance from a long . |
DoubleApfloatImpl(PushbackReader in,
long precision,
int radix,
boolean isInteger)
Create a new
DoubleApfloatImpl instance reading from a stream. |
DoubleApfloatImpl(String value,
long precision,
int radix,
boolean isInteger)
Create a new
DoubleApfloatImpl instance from a String. |
DoubleDiskDataStorage()
Default constructor.
|
FloatApfloatImpl(double value,
long precision,
int radix)
Create a new
FloatApfloatImpl instance from a double . |
FloatApfloatImpl(long value,
long precision,
int radix)
Create a new
FloatApfloatImpl instance from a long . |
FloatApfloatImpl(PushbackReader in,
long precision,
int radix,
boolean isInteger)
Create a new
FloatApfloatImpl instance reading from a stream. |
FloatApfloatImpl(String value,
long precision,
int radix,
boolean isInteger)
Create a new
FloatApfloatImpl instance from a String. |
FloatDiskDataStorage()
Default constructor.
|
IntApfloatImpl(double value,
long precision,
int radix)
Create a new
IntApfloatImpl instance from a double . |
IntApfloatImpl(long value,
long precision,
int radix)
Create a new
IntApfloatImpl instance from a long . |
IntApfloatImpl(PushbackReader in,
long precision,
int radix,
boolean isInteger)
Create a new
IntApfloatImpl instance reading from a stream. |
IntApfloatImpl(String value,
long precision,
int radix,
boolean isInteger)
Create a new
IntApfloatImpl instance from a String. |
IntDiskDataStorage()
Default constructor.
|
LongApfloatImpl(double value,
long precision,
int radix)
Create a new
LongApfloatImpl instance from a double . |
LongApfloatImpl(long value,
long precision,
int radix)
Create a new
LongApfloatImpl instance from a long . |
LongApfloatImpl(PushbackReader in,
long precision,
int radix,
boolean isInteger)
Create a new
LongApfloatImpl instance reading from a stream. |
LongApfloatImpl(String value,
long precision,
int radix,
boolean isInteger)
Create a new
LongApfloatImpl instance from a String. |
LongDiskDataStorage()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
ApfloatImpl |
ApfloatImpl.absCeil()
Returns this
ApfloatImpl rounded away from zero. |
ApfloatImpl |
ApfloatImpl.absFloor()
Returns this
ApfloatImpl rounded towards zero. |
ApfloatImpl |
ApfloatImpl.addOrSubtract(ApfloatImpl x,
boolean subtract)
Add or subtract an
ApfloatImpl to this object. |
void |
DataStorage.Iterator.close()
Closes the iterator.
|
abstract void |
ArrayAccess.close()
Close this array access and commit any changes to the
underlying data storage if applicable.
|
int |
ApfloatImpl.compareTo(ApfloatImpl x)
Compare this
ApfloatImpl and another number. |
DataStorage |
ConvolutionStrategy.convolute(DataStorage x,
DataStorage y,
long resultSize)
Convolutes the two sets of data.
|
void |
DataStorage.copyFrom(DataStorage dataStorage)
Copies all data from another data storage to this data storage.
|
void |
DataStorage.copyFrom(DataStorage dataStorage,
long size)
Copies the specified number of elements from another data storage to this data storage.
|
ApfloatImpl |
ApfloatBuilder.createApfloat(double value,
long precision,
int radix)
Create a new
ApfloatImpl instance from a double . |
ApfloatImpl |
ApfloatBuilder.createApfloat(long value,
long precision,
int radix)
Create a new
ApfloatImpl instance from a long . |
ApfloatImpl |
ApfloatBuilder.createApfloat(PushbackReader in,
long precision,
int radix,
boolean isInteger)
Create a new
ApfloatImpl instance reading from a stream. |
ApfloatImpl |
ApfloatBuilder.createApfloat(String value,
long precision,
int radix,
boolean isInteger)
Create a new
ApfloatImpl instance from a String . |
DataStorage |
DataStorageBuilder.createCachedDataStorage(long size)
Get a data storage that is cached in memory, if possible, for the requested size of data.
|
DataStorage |
DataStorageBuilder.createDataStorage(DataStorage dataStorage)
Convert cached data storage to the appropriate normal data storage type.
|
DataStorage |
DataStorageBuilder.createDataStorage(long size)
Get an appropriate type of data storage for the requested size of data.
|
ApfloatImpl |
ApfloatImpl.divideShort(ApfloatImpl x)
Divide this
ApfloatImpl by an ApfloatImpl that is "short". |
long |
ApfloatImpl.equalDigits(ApfloatImpl x)
The number of equal digits in this
ApfloatImpl and another number. |
void |
BuilderFactory.gc()
Do garbage collection and related things e.g.
|
ArrayAccess |
DataStorage.getArray(int mode,
long offset,
int length)
Gets an array access to the data of this data storage.
|
abstract Object |
ArrayAccess.getData()
Returns the array of this array access.
|
double |
DataStorage.Iterator.getDouble()
Gets the current element as a
double . |
double |
DataStorage.AbstractIterator.getDouble() |
double[] |
ArrayAccess.getDoubleData()
Returns the array of this array access as a
double[] . |
float |
DataStorage.Iterator.getFloat()
Gets the current element as a
float . |
float |
DataStorage.AbstractIterator.getFloat() |
float[] |
ArrayAccess.getFloatData()
Returns the array of this array access as a
float[] . |
int |
DataStorage.Iterator.getInt()
Gets the current element as an
int . |
int |
DataStorage.AbstractIterator.getInt() |
int[] |
ArrayAccess.getIntData()
Returns the array of this array access as an
int[] . |
long |
DataStorage.Iterator.getLong()
Gets the current element as a
long . |
long |
DataStorage.AbstractIterator.getLong() |
long[] |
ArrayAccess.getLongData()
Returns the array of this array access as a
long[] . |
long |
DataStorage.getSize()
Return the size of the data storage, or the length of this sub-sequence
if this data storage is a sub-sequence.
|
ArrayAccess |
DataStorage.getTransposedArray(int mode,
int startColumn,
int columns,
int rows)
Maps a transposed block of data to a memory array.
|
protected abstract void |
DataStorage.implCopyFrom(DataStorage dataStorage,
long size)
Copies the specified number of elements from another data storage to this data storage.
|
protected abstract ArrayAccess |
DataStorage.implGetArray(int mode,
long offset,
int length)
Gets an array access to the data of this data storage.
|
protected abstract long |
DataStorage.implGetSize()
Return the size of the whole data storage, not including sub-sequence settings.
|
protected abstract ArrayAccess |
DataStorage.implGetTransposedArray(int mode,
int startColumn,
int columns,
int rows)
Maps a transposed block of data to a memory array.
|
protected abstract void |
DataStorage.implSetSize(long size)
Sets the size of the data storage.
|
protected abstract DataStorage |
DataStorage.implSubsequence(long offset,
long length)
Implementation of getting a subsequence of this data storage.
|
void |
NTTStrategy.inverseTransform(DataStorage dataStorage,
int modulus,
long totalTransformLength)
Perform an inverse transform on the data.
|
boolean |
ApfloatImpl.isOne()
Tests if this number is equal to 1.
|
boolean |
ApfloatImpl.isShort()
Returns if this
ApfloatImpl is "short". |
abstract DataStorage.Iterator |
DataStorage.iterator(int mode,
long startPosition,
long endPosition)
Constructs a new iterator.
|
ApfloatImpl |
ApfloatImpl.multiply(ApfloatImpl x)
Multiply this object by an
ApfloatImpl . |
ApfloatImpl |
ApfloatImpl.negate()
Returns this
ApfloatImpl negated. |
void |
DataStorage.Iterator.next()
Advances the position in the stream by one element.
|
void |
DataStorage.AbstractIterator.next()
Advances the position in the stream by one element.
|
ApfloatImpl |
ApfloatImpl.precision(long precision)
Returns this
ApfloatImpl with the specified precision. |
long |
ApfloatImpl.scale()
Returns the scale of this
ApfloatImpl . |
void |
DataStorage.Iterator.setDouble(double value)
Sets the current element as a
double . |
void |
DataStorage.AbstractIterator.setDouble(double value) |
void |
DataStorage.Iterator.setFloat(float value)
Sets the current element as a
float . |
void |
DataStorage.AbstractIterator.setFloat(float value) |
void |
DataStorage.Iterator.setInt(int value)
Sets the current element as an
int . |
void |
DataStorage.AbstractIterator.setInt(int value) |
void |
DataStorage.Iterator.setLong(long value)
Sets the current element as a
long . |
void |
DataStorage.AbstractIterator.setLong(long value) |
void |
DataStorage.setReadOnly()
Sets this data storage as read-only.
|
void |
DataStorage.setSize(long size)
Sets the size of the data storage.
|
void |
BuilderFactory.shutdown()
Shuts down the builder factory.
|
long |
ApfloatImpl.size()
Returns the size of the mantissa of this
ApfloatImpl . |
DataStorage |
DataStorage.subsequence(long offset,
long length)
Get a subsequence of this data storage.
|
String |
ApfloatImpl.toString(boolean pretty)
Convert this
ApfloatImpl to String . |
void |
NTTStrategy.transform(DataStorage dataStorage,
int modulus)
Perform a forward transform on the data.
|
void |
ApfloatImpl.writeTo(Writer out,
boolean pretty)
Print this
ApfloatImpl to a stream. |
Constructor and Description |
---|
DataStorage.AbstractIterator(int mode,
long startPosition,
long endPosition)
Construct a new iterator.
|
Copyright © 2011. All Rights Reserved.