Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- abs() - Method in class ch.obermuhlner.math.big.BigRational
-
Returns the absolute value of this rational number.
- abs(BigComplex, MathContext) - Static method in class ch.obermuhlner.math.big.BigComplexMath
-
Calculates the absolute value (also known as magnitude, length or radius) of the given complex number using the specified
MathContext
. - abs(BigFloat) - Static method in class ch.obermuhlner.math.big.BigFloat
-
Returns the
BigFloat
that is theabs(this)
(absolute value). - abs(MathContext) - Method in class ch.obermuhlner.math.big.BigComplex
-
Calculates the absolute value (also known as magnitude, length or radius) of this complex number.
- absSquare(BigComplex, MathContext) - Static method in class ch.obermuhlner.math.big.BigComplexMath
-
Calculates the square of the absolute value (also known as magnitude, length or radius) of the given complex number using the specified
MathContext
. - absSquare(MathContext) - Method in class ch.obermuhlner.math.big.BigComplex
-
Calculates the square of the absolute value of this complex number.
- acos(BigComplex, MathContext) - Static method in class ch.obermuhlner.math.big.BigComplexMath
-
Calculates the arc cosine (inverted cosine) of
BigComplex
x in the complex domain. - acos(BigFloat) - Static method in class ch.obermuhlner.math.big.BigFloat
-
Returns the
BigFloat
that isacos(x)
. - acos(BigDecimal) - Static method in class ch.obermuhlner.math.big.DefaultBigDecimalMath
-
Calculates the arc cosine (inverted cosine) of
BigDecimal
x using the currentMathContext
. - acos(BigDecimal, MathContext) - Static method in class ch.obermuhlner.math.big.BigDecimalMath
-
Calculates the arc cosine (inverted cosine) of
BigDecimal
x. - acosh(BigFloat) - Static method in class ch.obermuhlner.math.big.BigFloat
-
Returns the
BigFloat
that isacosh(x)
. - acosh(BigDecimal) - Static method in class ch.obermuhlner.math.big.DefaultBigDecimalMath
-
Calculates the arc hyperbolic cosine (inverse hyperbolic cosine) of
BigDecimal
x using the currentMathContext
. - acosh(BigDecimal, MathContext) - Static method in class ch.obermuhlner.math.big.BigDecimalMath
-
Calculates the arc hyperbolic cosine (inverse hyperbolic cosine) of
BigDecimal
x. - acot(BigComplex, MathContext) - Static method in class ch.obermuhlner.math.big.BigComplexMath
-
Calculates the arc cotangens (inverted cotangens) of
BigComplex
x in the complex domain. - acot(BigFloat) - Static method in class ch.obermuhlner.math.big.BigFloat
-
Returns the
BigFloat
that isacot(x)
. - acot(BigDecimal) - Static method in class ch.obermuhlner.math.big.DefaultBigDecimalMath
-
Calculates the inverse cotangens (arc cotangens) of
BigDecimal
x using the currentMathContext
. - acot(BigDecimal, MathContext) - Static method in class ch.obermuhlner.math.big.BigDecimalMath
-
Calculates the inverse cotangens (arc cotangens) of
BigDecimal
x. - acoth(BigFloat) - Static method in class ch.obermuhlner.math.big.BigFloat
-
Returns the
BigFloat
that isacoth(x)
. - acoth(BigDecimal) - Static method in class ch.obermuhlner.math.big.DefaultBigDecimalMath
-
Calculates the arc hyperbolic cotangens (inverse hyperbolic cotangens) of
BigDecimal
x using the currentMathContext
. - acoth(BigDecimal, MathContext) - Static method in class ch.obermuhlner.math.big.BigDecimalMath
-
Calculates the arc hyperbolic cotangens (inverse hyperbolic cotangens) of
BigDecimal
x. - add(double) - Method in class ch.obermuhlner.math.big.BigComplex
-
Calculates the addition of the given real
double
value to this complex number. - add(double) - Method in class ch.obermuhlner.math.big.BigFloat
-
Returns the
BigFloat
that isthis + x
. - add(int) - Method in class ch.obermuhlner.math.big.BigFloat
-
Returns the
BigFloat
that isthis + x
. - add(int) - Method in class ch.obermuhlner.math.big.BigRational
-
Calculates the addition (+) of this rational number and the specified argument.
- add(long) - Method in class ch.obermuhlner.math.big.BigFloat
-
Returns the
BigFloat
that isthis + x
. - add(BigComplex) - Method in class ch.obermuhlner.math.big.BigComplex
-
Calculates the addition of the given complex value to this complex number.
- add(BigComplex, MathContext) - Method in class ch.obermuhlner.math.big.BigComplex
-
Calculates the addition of the given complex value to this complex number using the specified
MathContext
. - add(BigFloat) - Method in class ch.obermuhlner.math.big.BigFloat
-
Returns the
BigFloat
that isthis + x
. - add(BigFloat) - Method in class ch.obermuhlner.math.big.BigFloat.SpecialBigFloat
- add(BigRational) - Method in class ch.obermuhlner.math.big.BigRational
-
Calculates the addition (+) of this rational number and the specified argument.
- add(BigDecimal) - Method in class ch.obermuhlner.math.big.BigComplex
-
Calculates the addition of the given real
BigDecimal
value to this complex number. - add(BigDecimal) - Method in class ch.obermuhlner.math.big.BigFloat
-
Returns the
BigFloat
that isthis + x
. - add(BigDecimal) - Method in class ch.obermuhlner.math.big.BigRational
- add(BigDecimal, BigDecimal) - Static method in class ch.obermuhlner.math.big.DefaultBigDecimalMath
- add(BigDecimal, MathContext) - Method in class ch.obermuhlner.math.big.BigComplex
-
Calculates the addition of the given real
BigDecimal
value to this complex number using the specifiedMathContext
. - add(BigInteger) - Method in class ch.obermuhlner.math.big.BigRational
-
Calculates the addition (+) of this rational number and the specified argument.
- addFactor(BigRational) - Method in class ch.obermuhlner.math.big.internal.SeriesCalculator
- adjustScale(int, long) - Static method in class ch.obermuhlner.math.big.BigDecimalMath
- angle(BigComplex, MathContext) - Static method in class ch.obermuhlner.math.big.BigComplexMath
-
Calculates the angle in radians of the given complex number using the specified
MathContext
. - angle(MathContext) - Method in class ch.obermuhlner.math.big.BigComplex
-
Calculates the angle in radians (also known as argument) of this complex number.
- asin(BigComplex, MathContext) - Static method in class ch.obermuhlner.math.big.BigComplexMath
-
Calculates the arc sine (inverted sine) of
BigComplex
x in the complex domain. - asin(BigFloat) - Static method in class ch.obermuhlner.math.big.BigFloat
-
Returns the
BigFloat
that isasin(x)
. - asin(BigDecimal) - Static method in class ch.obermuhlner.math.big.DefaultBigDecimalMath
-
Calculates the arc sine (inverted sine) of
BigDecimal
x using the currentMathContext
. - asin(BigDecimal, MathContext) - Static method in class ch.obermuhlner.math.big.BigDecimalMath
-
Calculates the arc sine (inverted sine) of
BigDecimal
x. - AsinCalculator - Class in ch.obermuhlner.math.big.internal
-
Calculates arc sinus using the Maclaurin series.
- AsinCalculator() - Constructor for class ch.obermuhlner.math.big.internal.AsinCalculator
- asinh(BigFloat) - Static method in class ch.obermuhlner.math.big.BigFloat
-
Returns the
BigFloat
that isasinh(x)
. - asinh(BigDecimal) - Static method in class ch.obermuhlner.math.big.DefaultBigDecimalMath
-
Calculates the arc hyperbolic sine (inverse hyperbolic sine) of
BigDecimal
x using the currentMathContext
. - asinh(BigDecimal, MathContext) - Static method in class ch.obermuhlner.math.big.BigDecimalMath
-
Calculates the arc hyperbolic sine (inverse hyperbolic sine) of
BigDecimal
x. - atan(BigComplex, MathContext) - Static method in class ch.obermuhlner.math.big.BigComplexMath
-
Calculates the arc tangens (inverted tangens) of
BigComplex
x in the complex domain. - atan(BigFloat) - Static method in class ch.obermuhlner.math.big.BigFloat
-
Returns the
BigFloat
that isatan(x)
. - atan(BigDecimal) - Static method in class ch.obermuhlner.math.big.DefaultBigDecimalMath
-
Calculates the arc tangens (inverted tangens) of
BigDecimal
x using the currentMathContext
. - atan(BigDecimal, MathContext) - Static method in class ch.obermuhlner.math.big.BigDecimalMath
-
Calculates the arc tangens (inverted tangens) of
BigDecimal
x. - atan2(BigDecimal, BigDecimal) - Static method in class ch.obermuhlner.math.big.DefaultBigDecimalMath
-
Calculates the arc tangens (inverted tangens) of
BigDecimal
y / x in the range -pi to pi using the currentMathContext
. - atan2(BigDecimal, BigDecimal, MathContext) - Static method in class ch.obermuhlner.math.big.BigDecimalMath
-
Calculates the arc tangens (inverted tangens) of
BigDecimal
y / x in the range -pi to pi. - atanh(BigFloat) - Static method in class ch.obermuhlner.math.big.BigFloat
-
Returns the
BigFloat
that isatanh(x)
. - atanh(BigDecimal) - Static method in class ch.obermuhlner.math.big.DefaultBigDecimalMath
-
Calculates the arc hyperbolic tangens (inverse hyperbolic tangens) of
BigDecimal
x using the currentMathContext
. - atanh(BigDecimal, MathContext) - Static method in class ch.obermuhlner.math.big.BigDecimalMath
-
Calculates the arc hyperbolic tangens (inverse hyperbolic tangens) of
BigDecimal
x. - AtanhCalculator - Class in ch.obermuhlner.math.big.internal
-
Calculates sinus hyperbolicus using the Taylor series.
- AtanhCalculator() - Constructor for class ch.obermuhlner.math.big.internal.AtanhCalculator
B
- bernoulli(int) - Static method in class ch.obermuhlner.math.big.BigRational
-
Calculates the Bernoulli number for the specified index.
- bernoulli(int) - Static method in class ch.obermuhlner.math.big.DefaultBigDecimalMath
-
Calculates the Bernoulli number for the specified index using the current
MathContext
. - bernoulli(int, MathContext) - Static method in class ch.obermuhlner.math.big.BigDecimalMath
-
Calculates the Bernoulli number for the specified index.
- bernoulliCache - Static variable in class ch.obermuhlner.math.big.BigRational
- BigComplex - Class in ch.obermuhlner.math.big
-
Represents a complex number consisting of a real and an imaginary
BigDecimal
part in the forma + bi
. - BigComplex(BigDecimal, BigDecimal) - Constructor for class ch.obermuhlner.math.big.BigComplex
- BigComplexMath - Class in ch.obermuhlner.math.big
-
Provides advanced functions operating on
BigComplex
s. - BigComplexMath() - Constructor for class ch.obermuhlner.math.big.BigComplexMath
- BigDecimalMath - Class in ch.obermuhlner.math.big
-
Provides advanced functions operating on
BigDecimal
s. - BigDecimalMath() - Constructor for class ch.obermuhlner.math.big.BigDecimalMath
- BigDecimalSpliterator(BigDecimal, BigDecimal, boolean, BigDecimal, MathContext) - Constructor for class ch.obermuhlner.math.big.stream.BigDecimalStream.BigDecimalSpliterator
- BigDecimalSpliterator(BigDecimal, BigDecimal, long, MathContext) - Constructor for class ch.obermuhlner.math.big.stream.BigDecimalStream.BigDecimalSpliterator
- BigDecimalStream - Class in ch.obermuhlner.math.big.stream
-
Provides constructor methods for streams of
BigDecimal
elements. - BigDecimalStream() - Constructor for class ch.obermuhlner.math.big.stream.BigDecimalStream
- BigDecimalStream.BigDecimalSpliterator - Class in ch.obermuhlner.math.big.stream
- BigFloat - Class in ch.obermuhlner.math.big
-
A wrapper around
BigDecimal
which simplifies the consistent usage of theMathContext
and provides a simpler API for calculations. - BigFloat(BigDecimal, BigFloat.Context) - Constructor for class ch.obermuhlner.math.big.BigFloat
- BigFloat.Context - Class in ch.obermuhlner.math.big
-
Manages the
MathContext
and provides factory methods forBigFloat
values. - BigFloat.SpecialBigFloat - Class in ch.obermuhlner.math.big
-
this class handle unrepresentable value in floating-point arithmetic
- BigFloat.SpecialBigFloat.Type - Enum in ch.obermuhlner.math.big
- BigFloatSpliterator(BigFloat, BigFloat, boolean, BigFloat) - Constructor for class ch.obermuhlner.math.big.stream.BigFloatStream.BigFloatSpliterator
- BigFloatSpliterator(BigFloat, BigFloat, long) - Constructor for class ch.obermuhlner.math.big.stream.BigFloatStream.BigFloatSpliterator
- BigFloatStream - Class in ch.obermuhlner.math.big.stream
-
Provides constructor methods for streams of
BigFloat
elements. - BigFloatStream() - Constructor for class ch.obermuhlner.math.big.stream.BigFloatStream
- BigFloatStream.BigFloatSpliterator - Class in ch.obermuhlner.math.big.stream
- BigRational - Class in ch.obermuhlner.math.big
-
A rational number represented as a quotient of two values.
- BigRational(int) - Constructor for class ch.obermuhlner.math.big.BigRational
- BigRational(BigDecimal, BigDecimal) - Constructor for class ch.obermuhlner.math.big.BigRational
C
- calculate(BigDecimal, MathContext) - Method in class ch.obermuhlner.math.big.internal.SeriesCalculator
-
Calculates the series for the specified value x and the precision defined in the
MathContext
. - calculateBernoulli(int) - Static method in class ch.obermuhlner.math.big.BigRational
- calculateInPairs - Variable in class ch.obermuhlner.math.big.internal.SeriesCalculator
- calculateNextFactor() - Method in class ch.obermuhlner.math.big.internal.AsinCalculator
- calculateNextFactor() - Method in class ch.obermuhlner.math.big.internal.AtanhCalculator
- calculateNextFactor() - Method in class ch.obermuhlner.math.big.internal.CosCalculator
- calculateNextFactor() - Method in class ch.obermuhlner.math.big.internal.CoshCalculator
- calculateNextFactor() - Method in class ch.obermuhlner.math.big.internal.ExpCalculator
- calculateNextFactor() - Method in class ch.obermuhlner.math.big.internal.SeriesCalculator
-
Calculates the factor of the next term.
- calculateNextFactor() - Method in class ch.obermuhlner.math.big.internal.SinCalculator
- calculateNextFactor() - Method in class ch.obermuhlner.math.big.internal.SinhCalculator
- calculateNextPower() - Method in interface ch.obermuhlner.math.big.internal.PowerIterator
-
Calculates the next power.
- calculateNextPower() - Method in class ch.obermuhlner.math.big.internal.PowerNIterator
- calculateNextPower() - Method in class ch.obermuhlner.math.big.internal.PowerTwoNIterator
- calculateNextPower() - Method in class ch.obermuhlner.math.big.internal.PowerTwoNMinusOneIterator
- calculateNextPower() - Method in class ch.obermuhlner.math.big.internal.PowerTwoNPlusOneIterator
- ch.obermuhlner.math.big - package ch.obermuhlner.math.big
- ch.obermuhlner.math.big.internal - package ch.obermuhlner.math.big.internal
- ch.obermuhlner.math.big.stream - package ch.obermuhlner.math.big.stream
- checkMathContext(MathContext) - Static method in class ch.obermuhlner.math.big.BigDecimalMath
- close() - Method in class ch.obermuhlner.math.big.DefaultBigDecimalMath.LocalMathContext
- compare(BigFloat.SpecialBigFloat.Type, BigFloat.SpecialBigFloat.Type) - Static method in enum ch.obermuhlner.math.big.BigFloat.SpecialBigFloat.Type
- compareTo(BigFloat) - Method in class ch.obermuhlner.math.big.BigFloat
- compareTo(BigFloat) - Method in class ch.obermuhlner.math.big.BigFloat.SpecialBigFloat
- compareTo(BigRational) - Method in class ch.obermuhlner.math.big.BigRational
- conjugate() - Method in class ch.obermuhlner.math.big.BigComplex
-
Calculates the conjugate
a - bi
of this complex number. - conjugate(BigComplex) - Static method in class ch.obermuhlner.math.big.BigComplexMath
-
Calculates the conjugate of the given complex number using the specified
MathContext
. - context - Variable in class ch.obermuhlner.math.big.BigFloat
- context(int) - Static method in class ch.obermuhlner.math.big.BigFloat
-
Creates a
BigFloat.Context
with the specified precision andRoundingMode.HALF_UP
rounding. - context(MathContext) - Static method in class ch.obermuhlner.math.big.BigFloat
-
Creates a
BigFloat.Context
with the specifiedMathContext
. - Context(MathContext) - Constructor for class ch.obermuhlner.math.big.BigFloat.Context
- cos(BigComplex, MathContext) - Static method in class ch.obermuhlner.math.big.BigComplexMath
-
Calculates the cosine (cosinus) of
BigComplex
x in the complex domain. - cos(BigFloat) - Static method in class ch.obermuhlner.math.big.BigFloat
-
Returns the
BigFloat
that iscos(x)
. - cos(BigDecimal) - Static method in class ch.obermuhlner.math.big.DefaultBigDecimalMath
-
Calculates the cosine (cosinus) of
BigDecimal
x using the currentMathContext
. - cos(BigDecimal, MathContext) - Static method in class ch.obermuhlner.math.big.BigDecimalMath
-
Calculates the cosine (cosinus) of
BigDecimal
x. - CosCalculator - Class in ch.obermuhlner.math.big.internal
-
Calculates cosinus using the Maclaurin series.
- CosCalculator() - Constructor for class ch.obermuhlner.math.big.internal.CosCalculator
- cosh(BigFloat) - Static method in class ch.obermuhlner.math.big.BigFloat
-
Returns the
BigFloat
that iscosh(x)
. - cosh(BigDecimal) - Static method in class ch.obermuhlner.math.big.DefaultBigDecimalMath
-
Calculates the hyperbolic cosine of
BigDecimal
x using the currentMathContext
. - cosh(BigDecimal, MathContext) - Static method in class ch.obermuhlner.math.big.BigDecimalMath
-
Calculates the hyperbolic cosine of
BigDecimal
x. - CoshCalculator - Class in ch.obermuhlner.math.big.internal
-
Calculates cosinus hyperbolicus using the Taylor series.
- CoshCalculator() - Constructor for class ch.obermuhlner.math.big.internal.CoshCalculator
- cot(BigFloat) - Static method in class ch.obermuhlner.math.big.BigFloat
-
Returns the
BigFloat
that iscot(x)
. - cot(BigDecimal) - Static method in class ch.obermuhlner.math.big.DefaultBigDecimalMath
-
Calculates the cotangens of
BigDecimal
x using the currentMathContext
. - cot(BigDecimal, MathContext) - Static method in class ch.obermuhlner.math.big.BigDecimalMath
-
Calculates the cotangens of
BigDecimal
x. - coth(BigFloat) - Static method in class ch.obermuhlner.math.big.BigFloat
-
Returns the
BigFloat
that iscoth(x)
. - coth(BigDecimal) - Static method in class ch.obermuhlner.math.big.DefaultBigDecimalMath
-
Calculates the hyperbolic cotangens of
BigDecimal
x using the currentMathContext
. - coth(BigDecimal, MathContext) - Static method in class ch.obermuhlner.math.big.BigDecimalMath
-
Calculates the hyperbolic cotangens of
BigDecimal
x. - count - Variable in class ch.obermuhlner.math.big.stream.BigDecimalStream.BigDecimalSpliterator
- count - Variable in class ch.obermuhlner.math.big.stream.BigFloatStream.BigFloatSpliterator
- countDigits(BigInteger) - Static method in class ch.obermuhlner.math.big.BigRational
- createDefaultMathContext() - Static method in class ch.obermuhlner.math.big.DefaultBigDecimalMath
- createLocalMathContext(int) - Static method in class ch.obermuhlner.math.big.DefaultBigDecimalMath
-
Executes the given
Runnable
using the specified precision. - createLocalMathContext(int, RoundingMode) - Static method in class ch.obermuhlner.math.big.DefaultBigDecimalMath
-
Executes the given
Runnable
using the specified precision andRoundingMode
. - createLocalMathContext(MathContext) - Static method in class ch.obermuhlner.math.big.DefaultBigDecimalMath
-
Executes the given
Runnable
using the specifiedMathContext
. - createPowerIterator(BigDecimal, MathContext) - Method in class ch.obermuhlner.math.big.internal.AsinCalculator
- createPowerIterator(BigDecimal, MathContext) - Method in class ch.obermuhlner.math.big.internal.AtanhCalculator
- createPowerIterator(BigDecimal, MathContext) - Method in class ch.obermuhlner.math.big.internal.CosCalculator
- createPowerIterator(BigDecimal, MathContext) - Method in class ch.obermuhlner.math.big.internal.CoshCalculator
- createPowerIterator(BigDecimal, MathContext) - Method in class ch.obermuhlner.math.big.internal.ExpCalculator
- createPowerIterator(BigDecimal, MathContext) - Method in class ch.obermuhlner.math.big.internal.SeriesCalculator
-
Creates the
PowerIterator
used for this series. - createPowerIterator(BigDecimal, MathContext) - Method in class ch.obermuhlner.math.big.internal.SinCalculator
- createPowerIterator(BigDecimal, MathContext) - Method in class ch.obermuhlner.math.big.internal.SinhCalculator
- currentMathContext() - Static method in class ch.obermuhlner.math.big.DefaultBigDecimalMath
-
Returns the current
MathContext
used for all mathematical functions in this class.
D
- decrement() - Method in class ch.obermuhlner.math.big.BigRational
-
Calculates the decrement of this rational number (- 1).
- DefaultBigDecimalMath - Class in ch.obermuhlner.math.big
-
A wrapper around
BigDecimalMath
that passes a currentMathContext
to the functions that need aMathContext
argument. - DefaultBigDecimalMath() - Constructor for class ch.obermuhlner.math.big.DefaultBigDecimalMath
- DefaultBigDecimalMath.LocalMathContext - Class in ch.obermuhlner.math.big
-
The local context used to push and pop a
MathContext
on the stack. - defaultMathContext - Static variable in class ch.obermuhlner.math.big.DefaultBigDecimalMath
- denominator - Variable in class ch.obermuhlner.math.big.BigRational
- divide(double) - Method in class ch.obermuhlner.math.big.BigFloat
-
Returns the
BigFloat
that isthis / x
. - divide(double, MathContext) - Method in class ch.obermuhlner.math.big.BigComplex
-
Calculates this complex number divided by the given real
double
value using the specifiedMathContext
. - divide(int) - Method in class ch.obermuhlner.math.big.BigFloat
-
Returns the
BigFloat
that isthis / x
. - divide(int) - Method in class ch.obermuhlner.math.big.BigRational
-
Calculates the division (/) of this rational number and the specified argument.
- divide(long) - Method in class ch.obermuhlner.math.big.BigFloat
-
Returns the
BigFloat
that isthis / x
. - divide(BigComplex, MathContext) - Method in class ch.obermuhlner.math.big.BigComplex
-
Calculates this complex number divided by the given complex value using the specified
MathContext
. - divide(BigFloat) - Method in class ch.obermuhlner.math.big.BigFloat
-
Returns the
BigFloat
that isthis / x
. - divide(BigFloat) - Method in class ch.obermuhlner.math.big.BigFloat.SpecialBigFloat
- divide(BigRational) - Method in class ch.obermuhlner.math.big.BigRational
-
Calculates the division (/) of this rational number and the specified argument.
- divide(BigDecimal) - Method in class ch.obermuhlner.math.big.BigFloat
-
Returns the
BigFloat
that isthis / x
. - divide(BigDecimal) - Method in class ch.obermuhlner.math.big.BigRational
- divide(BigDecimal, BigDecimal) - Static method in class ch.obermuhlner.math.big.DefaultBigDecimalMath
- divide(BigDecimal, MathContext) - Method in class ch.obermuhlner.math.big.BigComplex
-
Calculates this complex number divided by the given real
BigDecimal
value using the specifiedMathContext
. - divide(BigInteger) - Method in class ch.obermuhlner.math.big.BigRational
-
Calculates the division (/) of this rational number and the specified argument.
- DOUBLE_MAX_VALUE - Static variable in class ch.obermuhlner.math.big.BigDecimalMath
- doubleValue() - Method in class ch.obermuhlner.math.big.BigRational
- DUMMY_CONTEXT - Static variable in class ch.obermuhlner.math.big.BigFloat.SpecialBigFloat
E
- e() - Method in class ch.obermuhlner.math.big.BigFloat.Context
-
Returns the constant e with this context.
- e() - Static method in class ch.obermuhlner.math.big.DefaultBigDecimalMath
-
Returns the number e using the current
MathContext
. - e(MathContext) - Static method in class ch.obermuhlner.math.big.BigDecimalMath
-
Returns the number e.
- eCache - Static variable in class ch.obermuhlner.math.big.BigDecimalMath
- eCacheLock - Static variable in class ch.obermuhlner.math.big.BigDecimalMath
- equals(Object) - Method in class ch.obermuhlner.math.big.BigComplex
- equals(Object) - Method in class ch.obermuhlner.math.big.BigFloat.Context
- equals(Object) - Method in class ch.obermuhlner.math.big.BigFloat
- equals(Object) - Method in class ch.obermuhlner.math.big.BigFloat.SpecialBigFloat
- equals(Object) - Method in class ch.obermuhlner.math.big.BigRational
- estimatedCount(BigFloat, BigFloat, boolean, BigFloat) - Static method in class ch.obermuhlner.math.big.stream.BigFloatStream.BigFloatSpliterator
- estimatedCount(BigDecimal, BigDecimal, boolean, BigDecimal, MathContext) - Static method in class ch.obermuhlner.math.big.stream.BigDecimalStream.BigDecimalSpliterator
- exp(BigComplex, MathContext) - Static method in class ch.obermuhlner.math.big.BigComplexMath
-
Calculates the natural exponent of
BigComplex
x (ex) in the complex domain. - exp(BigFloat) - Static method in class ch.obermuhlner.math.big.BigFloat
-
Returns the
BigFloat
that isexp(x)
. - exp(BigDecimal) - Static method in class ch.obermuhlner.math.big.DefaultBigDecimalMath
-
Calculates the natural exponent of
BigDecimal
x (ex) using the currentMathContext
. - exp(BigDecimal, MathContext) - Static method in class ch.obermuhlner.math.big.BigDecimalMath
-
Calculates the natural exponent of
BigDecimal
x (ex). - ExpCalculator - Class in ch.obermuhlner.math.big.internal
-
Calculates exp using the Maclaurin series.
- ExpCalculator() - Constructor for class ch.obermuhlner.math.big.internal.ExpCalculator
- EXPECTED_INITIAL_PRECISION - Static variable in class ch.obermuhlner.math.big.BigDecimalMath
- expIntegralFractional(BigDecimal, MathContext) - Static method in class ch.obermuhlner.math.big.BigDecimalMath
- exponent(BigDecimal) - Static method in class ch.obermuhlner.math.big.BigDecimalMath
-
Returns the exponent of the specified
BigDecimal
written as mantissa * 10exponent. - expTaylor(BigDecimal, MathContext) - Static method in class ch.obermuhlner.math.big.BigDecimalMath
F
- factorial(int) - Static method in class ch.obermuhlner.math.big.BigDecimalMath
-
Calculates the factorial of the specified integer argument.
- factorial(int) - Method in class ch.obermuhlner.math.big.BigFloat.Context
-
Returns the factorial of n with this context.
- factorial(BigComplex, MathContext) - Static method in class ch.obermuhlner.math.big.BigComplexMath
-
Calculates the factorial of the specified
BigComplex
. - factorial(BigDecimal) - Static method in class ch.obermuhlner.math.big.DefaultBigDecimalMath
-
Calculates the factorial of the specified
BigDecimal
using the currentMathContext
. - factorial(BigDecimal, MathContext) - Static method in class ch.obermuhlner.math.big.BigDecimalMath
-
Calculates the factorial of the specified
BigDecimal
. - factorial2n - Variable in class ch.obermuhlner.math.big.internal.AsinCalculator
- factorial2n - Variable in class ch.obermuhlner.math.big.internal.CosCalculator
- factorial2n - Variable in class ch.obermuhlner.math.big.internal.CoshCalculator
- factorial2nPlus1 - Variable in class ch.obermuhlner.math.big.internal.SinCalculator
- factorial2nPlus1 - Variable in class ch.obermuhlner.math.big.internal.SinhCalculator
- factorialCache - Static variable in class ch.obermuhlner.math.big.BigDecimalMath
- factorialLoop(int, int) - Static method in class ch.obermuhlner.math.big.BigDecimalMath
- factorialN - Variable in class ch.obermuhlner.math.big.internal.AsinCalculator
- factorialRecursion(int, int) - Static method in class ch.obermuhlner.math.big.BigDecimalMath
- factors - Variable in class ch.obermuhlner.math.big.internal.SeriesCalculator
- floatValue() - Method in class ch.obermuhlner.math.big.BigRational
- forEachRemaining(Consumer<? super BigFloat>) - Method in class ch.obermuhlner.math.big.stream.BigFloatStream.BigFloatSpliterator
- forEachRemaining(Consumer<? super BigDecimal>) - Method in class ch.obermuhlner.math.big.stream.BigDecimalStream.BigDecimalSpliterator
- fourPowerN - Variable in class ch.obermuhlner.math.big.internal.AsinCalculator
- fractionalPart(BigDecimal) - Static method in class ch.obermuhlner.math.big.BigDecimalMath
-
Returns the fractional part of the specified
BigDecimal
(right of the decimal point). - fractionPart() - Method in class ch.obermuhlner.math.big.BigRational
-
Returns the fraction part of this rational number.
G
- gamma(BigComplex, MathContext) - Static method in class ch.obermuhlner.math.big.BigComplexMath
-
Calculates the gamma function of the specified
BigComplex
. - gamma(BigDecimal) - Static method in class ch.obermuhlner.math.big.DefaultBigDecimalMath
-
Calculates the gamma function of the specified
BigDecimal
using the currentMathContext
. - gamma(BigDecimal, MathContext) - Static method in class ch.obermuhlner.math.big.BigDecimalMath
-
Calculates the gamma function of the specified
BigDecimal
. - getComparator() - Method in class ch.obermuhlner.math.big.stream.BigDecimalStream.BigDecimalSpliterator
- getComparator() - Method in class ch.obermuhlner.math.big.stream.BigFloatStream.BigFloatSpliterator
- getContext() - Method in class ch.obermuhlner.math.big.BigFloat
-
Returns the
BigFloat.Context
ofthis
value. - getContext() - Method in class ch.obermuhlner.math.big.BigFloat.SpecialBigFloat
- getCurrentFactor() - Method in class ch.obermuhlner.math.big.internal.AsinCalculator
- getCurrentFactor() - Method in class ch.obermuhlner.math.big.internal.AtanhCalculator
- getCurrentFactor() - Method in class ch.obermuhlner.math.big.internal.CosCalculator
- getCurrentFactor() - Method in class ch.obermuhlner.math.big.internal.CoshCalculator
- getCurrentFactor() - Method in class ch.obermuhlner.math.big.internal.ExpCalculator
- getCurrentFactor() - Method in class ch.obermuhlner.math.big.internal.SeriesCalculator
-
Returns the factor of the highest term already calculated.
- getCurrentFactor() - Method in class ch.obermuhlner.math.big.internal.SinCalculator
- getCurrentFactor() - Method in class ch.obermuhlner.math.big.internal.SinhCalculator
- getCurrentPower() - Method in interface ch.obermuhlner.math.big.internal.PowerIterator
-
Returns the current power.
- getCurrentPower() - Method in class ch.obermuhlner.math.big.internal.PowerNIterator
- getCurrentPower() - Method in class ch.obermuhlner.math.big.internal.PowerTwoNIterator
- getCurrentPower() - Method in class ch.obermuhlner.math.big.internal.PowerTwoNMinusOneIterator
- getCurrentPower() - Method in class ch.obermuhlner.math.big.internal.PowerTwoNPlusOneIterator
- getDefaultMathContext() - Static method in class ch.obermuhlner.math.big.DefaultBigDecimalMath
-
Returns the default
MathContext
used for all mathematical functions in this class. - getDenominator() - Method in class ch.obermuhlner.math.big.BigRational
-
Returns the denominator of this rational number as BigDecimal.
- getDenominatorBigInteger() - Method in class ch.obermuhlner.math.big.BigRational
-
Returns the denominator of this rational number as BigInteger.
- getExponent() - Method in class ch.obermuhlner.math.big.BigFloat
-
Returns the exponent of
this
value written as mantissa * 10exponent. - getExponent() - Method in class ch.obermuhlner.math.big.BigFloat.SpecialBigFloat
- getFactor(int) - Method in class ch.obermuhlner.math.big.internal.SeriesCalculator
-
Returns the factor of the term with specified index.
- getFractionalPart() - Method in class ch.obermuhlner.math.big.BigFloat
-
Returns the fractional part of
this
value (right of the decimal point). - getFractionalPart() - Method in class ch.obermuhlner.math.big.BigFloat.SpecialBigFloat
- getIntegralPart() - Method in class ch.obermuhlner.math.big.BigFloat
-
Returns the integral part of
this
value (left of the decimal point). - getIntegralPart() - Method in class ch.obermuhlner.math.big.BigFloat.SpecialBigFloat
- getIntSystemProperty(String, int) - Static method in class ch.obermuhlner.math.big.DefaultBigDecimalMath
- getMantissa() - Method in class ch.obermuhlner.math.big.BigFloat
-
Returns the mantissa of
this
value written as mantissa * 10exponent. - getMantissa() - Method in class ch.obermuhlner.math.big.BigFloat.SpecialBigFloat
- getMathContext() - Method in class ch.obermuhlner.math.big.BigFloat.Context
-
Returns the
MathContext
of this context. - getNumerator() - Method in class ch.obermuhlner.math.big.BigRational
-
Returns the numerator of this rational number as BigDecimal.
- getNumeratorBigInteger() - Method in class ch.obermuhlner.math.big.BigRational
-
Returns the numerator of this rational number as BigInteger.
- getPrecision() - Method in class ch.obermuhlner.math.big.BigFloat.Context
-
Returns the precision of this context.
- getRoundingMode() - Method in class ch.obermuhlner.math.big.BigFloat.Context
-
Returns the
RoundingMode
of this context. - getRoundingModeSystemProperty(String, RoundingMode) - Static method in class ch.obermuhlner.math.big.DefaultBigDecimalMath
- getSpougeFactorialConstants(int) - Static method in class ch.obermuhlner.math.big.BigDecimalMath
H
- hashCode - Variable in enum ch.obermuhlner.math.big.BigFloat.SpecialBigFloat.Type
- hashCode() - Method in class ch.obermuhlner.math.big.BigComplex
- hashCode() - Method in class ch.obermuhlner.math.big.BigFloat.Context
- hashCode() - Method in class ch.obermuhlner.math.big.BigFloat
- hashCode() - Method in class ch.obermuhlner.math.big.BigFloat.SpecialBigFloat
- hashCode() - Method in class ch.obermuhlner.math.big.BigRational
I
- I - Static variable in class ch.obermuhlner.math.big.BigComplex
-
Imaginary 1 represented as complex number.
- im - Variable in class ch.obermuhlner.math.big.BigComplex
-
The imaginary
BigDecimal
part of this complex number. - im() - Method in class ch.obermuhlner.math.big.BigComplex
-
Returns the imaginary part of this complex number as
BigComplex
number. - increment() - Method in class ch.obermuhlner.math.big.BigRational
-
Calculates the increment of this rational number (+ 1).
- INSTANCE - Static variable in class ch.obermuhlner.math.big.internal.AsinCalculator
- INSTANCE - Static variable in class ch.obermuhlner.math.big.internal.AtanhCalculator
- INSTANCE - Static variable in class ch.obermuhlner.math.big.internal.CosCalculator
- INSTANCE - Static variable in class ch.obermuhlner.math.big.internal.CoshCalculator
- INSTANCE - Static variable in class ch.obermuhlner.math.big.internal.ExpCalculator
- INSTANCE - Static variable in class ch.obermuhlner.math.big.internal.SinCalculator
- INSTANCE - Static variable in class ch.obermuhlner.math.big.internal.SinhCalculator
- integerPart() - Method in class ch.obermuhlner.math.big.BigRational
-
Returns the integer part of this rational number.
- integralPart(BigDecimal) - Static method in class ch.obermuhlner.math.big.BigDecimalMath
-
Returns the integral part of the specified
BigDecimal
(left of the decimal point). - intValue() - Method in class ch.obermuhlner.math.big.BigRational
- isBetween(BigFloat, BigFloat, BigFloat) - Static method in class ch.obermuhlner.math.big.BigFloat
- isDoubleValue() - Method in class ch.obermuhlner.math.big.BigFloat
- isDoubleValue() - Method in class ch.obermuhlner.math.big.BigFloat.SpecialBigFloat
- isDoubleValue(BigDecimal) - Static method in class ch.obermuhlner.math.big.BigDecimalMath
-
Returns whether the specified
BigDecimal
value can be represented asdouble
. - isEqual(BigFloat) - Method in class ch.obermuhlner.math.big.BigFloat
-
Returns whether
this
value is mathematically equal to theother
value. - isGreaterThan(BigFloat) - Method in class ch.obermuhlner.math.big.BigFloat
-
Returns whether
this
value is mathematically greater than to theother
value. - isGreaterThanOrEqual(BigFloat) - Method in class ch.obermuhlner.math.big.BigFloat
-
Returns whether
this
value is mathematically greater than or equal to theother
value. - isInfinity() - Method in class ch.obermuhlner.math.big.BigFloat
- isInteger() - Method in class ch.obermuhlner.math.big.BigRational
-
Returns whether this rational number is an integer number without fraction part.
- isIntegerInternal() - Method in class ch.obermuhlner.math.big.BigRational
-
Returns whether this rational number is an integer number without fraction part.
- isIntValue() - Method in class ch.obermuhlner.math.big.BigFloat
-
Returns whether
this
value can be represented asint
. - isIntValue() - Method in class ch.obermuhlner.math.big.BigFloat.SpecialBigFloat
- isIntValue(BigDecimal) - Static method in class ch.obermuhlner.math.big.BigDecimalMath
-
Returns whether the specified
BigDecimal
value can be represented asint
. - isLessThan(BigFloat) - Method in class ch.obermuhlner.math.big.BigFloat
-
Returns whether
this
value is mathematically less than to theother
value. - isLessThanOrEqual(BigFloat) - Method in class ch.obermuhlner.math.big.BigFloat
-
Returns whether
this
value is mathematically less than or equal to theother
value. - isLongValue(BigDecimal) - Static method in class ch.obermuhlner.math.big.BigDecimalMath
-
Returns whether the specified
BigDecimal
value can be represented aslong
. - isNaN() - Method in class ch.obermuhlner.math.big.BigFloat
- isNegative() - Method in class ch.obermuhlner.math.big.BigFloat
-
Returns whether this
BigFloat
is negative. - isNegative() - Method in class ch.obermuhlner.math.big.BigFloat.SpecialBigFloat
- isPositive() - Method in class ch.obermuhlner.math.big.BigFloat
-
Returns whether this
BigFloat
is positive. - isPositive() - Method in class ch.obermuhlner.math.big.BigFloat.SpecialBigFloat
- isPositive() - Method in class ch.obermuhlner.math.big.BigRational
- isRangeAbs1(BigFloat) - Static method in class ch.obermuhlner.math.big.BigFloat
- isReal() - Method in class ch.obermuhlner.math.big.BigComplex
-
Returns whether this complex number only has a real part (the imaginary part is 0).
- isSpecial() - Method in class ch.obermuhlner.math.big.BigFloat
- isSpecial() - Method in class ch.obermuhlner.math.big.BigFloat.SpecialBigFloat
- isZero() - Method in class ch.obermuhlner.math.big.BigFloat
-
Returns whether this
BigFloat
is 0. - isZero() - Method in class ch.obermuhlner.math.big.BigFloat.SpecialBigFloat
- isZero() - Method in class ch.obermuhlner.math.big.BigRational
-
Returns whether this rational number is zero.
L
- LocalMathContext(MathContext) - Constructor for class ch.obermuhlner.math.big.DefaultBigDecimalMath.LocalMathContext
- log(BigComplex, MathContext) - Static method in class ch.obermuhlner.math.big.BigComplexMath
-
Calculates the natural logarithm of
BigComplex
x in the complex domain. - log(BigFloat) - Static method in class ch.obermuhlner.math.big.BigFloat
-
Returns the
BigFloat
that islog(x)
. - log(BigDecimal) - Static method in class ch.obermuhlner.math.big.DefaultBigDecimalMath
-
Calculates the natural logarithm of
BigDecimal
x using the currentMathContext
. - log(BigDecimal, MathContext) - Static method in class ch.obermuhlner.math.big.BigDecimalMath
-
Calculates the natural logarithm of
BigDecimal
x. - log10(BigFloat) - Static method in class ch.obermuhlner.math.big.BigFloat
-
Returns the
BigFloat
that islog10(x)
. - log10(BigDecimal) - Static method in class ch.obermuhlner.math.big.DefaultBigDecimalMath
-
Calculates the logarithm of
BigDecimal
x to the base 10 using the currentMathContext
. - log10(BigDecimal, MathContext) - Static method in class ch.obermuhlner.math.big.BigDecimalMath
-
Calculates the logarithm of
BigDecimal
x to the base 10. - log10Cache - Static variable in class ch.obermuhlner.math.big.BigDecimalMath
- log10CacheLock - Static variable in class ch.obermuhlner.math.big.BigDecimalMath
- log2(BigFloat) - Static method in class ch.obermuhlner.math.big.BigFloat
-
Returns the
BigFloat
that islog2(x)
. - log2(BigDecimal) - Static method in class ch.obermuhlner.math.big.DefaultBigDecimalMath
-
Calculates the logarithm of
BigDecimal
x to the base 2 using the currentMathContext
. - log2(BigDecimal, MathContext) - Static method in class ch.obermuhlner.math.big.BigDecimalMath
-
Calculates the logarithm of
BigDecimal
x to the base 2. - log2Cache - Static variable in class ch.obermuhlner.math.big.BigDecimalMath
- log2CacheLock - Static variable in class ch.obermuhlner.math.big.BigDecimalMath
- log3Cache - Static variable in class ch.obermuhlner.math.big.BigDecimalMath
- log3CacheLock - Static variable in class ch.obermuhlner.math.big.BigDecimalMath
- logSpecial(BigFloat) - Static method in class ch.obermuhlner.math.big.BigFloat
- logTen(MathContext) - Static method in class ch.obermuhlner.math.big.BigDecimalMath
- logThree(MathContext) - Static method in class ch.obermuhlner.math.big.BigDecimalMath
- logTwo(MathContext) - Static method in class ch.obermuhlner.math.big.BigDecimalMath
- logUsingExponent(BigDecimal, MathContext) - Static method in class ch.obermuhlner.math.big.BigDecimalMath
- logUsingNewton(BigDecimal, MathContext) - Static method in class ch.obermuhlner.math.big.BigDecimalMath
- logUsingTwoThree(BigDecimal, MathContext) - Static method in class ch.obermuhlner.math.big.BigDecimalMath
- longValue() - Method in class ch.obermuhlner.math.big.BigRational
M
- mantissa(BigDecimal) - Static method in class ch.obermuhlner.math.big.BigDecimalMath
-
Returns the mantissa of the specified
BigDecimal
written as mantissa * 10exponent. - mathContext - Variable in class ch.obermuhlner.math.big.BigFloat.Context
- mathContext - Variable in class ch.obermuhlner.math.big.DefaultBigDecimalMath.LocalMathContext
- mathContext - Variable in class ch.obermuhlner.math.big.internal.PowerNIterator
- mathContext - Variable in class ch.obermuhlner.math.big.internal.PowerTwoNIterator
- mathContext - Variable in class ch.obermuhlner.math.big.internal.PowerTwoNMinusOneIterator
- mathContext - Variable in class ch.obermuhlner.math.big.internal.PowerTwoNPlusOneIterator
- mathContext - Variable in class ch.obermuhlner.math.big.stream.BigDecimalStream.BigDecimalSpliterator
- mathContextStack - Static variable in class ch.obermuhlner.math.big.DefaultBigDecimalMath
- max(BigFloat.Context, BigFloat.Context) - Static method in class ch.obermuhlner.math.big.BigFloat
- max(BigFloat, BigFloat) - Static method in class ch.obermuhlner.math.big.BigFloat
-
Returns the the maximum of two
BigFloat
values. - max(BigFloat, BigFloat...) - Static method in class ch.obermuhlner.math.big.BigFloat
-
Returns the the maximum of n
BigFloat
values. - max(BigRational) - Method in class ch.obermuhlner.math.big.BigRational
-
Finds the maximum (larger) of two rational numbers.
- max(BigRational...) - Static method in class ch.obermuhlner.math.big.BigRational
-
Returns the largest of the specified rational numbers.
- min(BigFloat, BigFloat) - Static method in class ch.obermuhlner.math.big.BigFloat
-
Returns the the minimum of two
BigFloat
values. - min(BigFloat, BigFloat...) - Static method in class ch.obermuhlner.math.big.BigFloat
-
Returns the the minimum of n
BigFloat
values. - min(BigRational) - Method in class ch.obermuhlner.math.big.BigRational
-
Finds the minimum (smaller) of two rational numbers.
- min(BigRational...) - Static method in class ch.obermuhlner.math.big.BigRational
-
Returns the smallest of the specified rational numbers.
- MINUS_ONE - Static variable in class ch.obermuhlner.math.big.BigDecimalMath
- multiply(double) - Method in class ch.obermuhlner.math.big.BigComplex
-
Calculates the multiplication of the given real
double
value with this complex number. - multiply(double) - Method in class ch.obermuhlner.math.big.BigFloat
-
Returns the
BigFloat
that isthis * x
. - multiply(int) - Method in class ch.obermuhlner.math.big.BigFloat
-
Returns the
BigFloat
that isthis * x
. - multiply(int) - Method in class ch.obermuhlner.math.big.BigRational
-
Calculates the multiplication (*) of this rational number and the specified argument.
- multiply(long) - Method in class ch.obermuhlner.math.big.BigFloat
-
Returns the
BigFloat
that isthis * x
. - multiply(BigComplex) - Method in class ch.obermuhlner.math.big.BigComplex
-
Calculates the multiplication of the given complex value to this complex number.
- multiply(BigComplex, MathContext) - Method in class ch.obermuhlner.math.big.BigComplex
-
Calculates the multiplication of the given complex value with this complex number using the specified
MathContext
. - multiply(BigFloat) - Method in class ch.obermuhlner.math.big.BigFloat
-
Returns the
BigFloat
that isthis * x
. - multiply(BigFloat) - Method in class ch.obermuhlner.math.big.BigFloat.SpecialBigFloat
- multiply(BigRational) - Method in class ch.obermuhlner.math.big.BigRational
-
Calculates the multiplication (*) of this rational number and the specified argument.
- multiply(BigDecimal) - Method in class ch.obermuhlner.math.big.BigComplex
-
Calculates the multiplication of the given real
BigDecimal
value with this complex number. - multiply(BigDecimal) - Method in class ch.obermuhlner.math.big.BigFloat
-
Returns the
BigFloat
that isthis * x
. - multiply(BigDecimal) - Method in class ch.obermuhlner.math.big.BigRational
- multiply(BigDecimal, BigDecimal) - Static method in class ch.obermuhlner.math.big.DefaultBigDecimalMath
- multiply(BigDecimal, MathContext) - Method in class ch.obermuhlner.math.big.BigComplex
-
Calculates the multiplication of the given real
BigDecimal
value with this complex number using the specifiedMathContext
. - multiply(BigInteger) - Method in class ch.obermuhlner.math.big.BigRational
-
Calculates the multiplication (*) of this rational number and the specified argument.
N
- n - Variable in class ch.obermuhlner.math.big.internal.AsinCalculator
- n - Variable in class ch.obermuhlner.math.big.internal.AtanhCalculator
- n - Variable in class ch.obermuhlner.math.big.internal.CosCalculator
- n - Variable in class ch.obermuhlner.math.big.internal.CoshCalculator
- n - Variable in class ch.obermuhlner.math.big.internal.ExpCalculator
- n - Variable in class ch.obermuhlner.math.big.internal.SinCalculator
- n - Variable in class ch.obermuhlner.math.big.internal.SinhCalculator
- NaN - Enum constant in enum ch.obermuhlner.math.big.BigFloat.SpecialBigFloat.Type
- NaN - Static variable in class ch.obermuhlner.math.big.BigFloat
-
Represents a value that is not a number.
- negate() - Method in class ch.obermuhlner.math.big.BigComplex
-
Calculates the negation
-a - bi
of this complex number. - negate() - Method in class ch.obermuhlner.math.big.BigRational
-
Negates this rational number (inverting the sign).
- negate(BigFloat) - Static method in class ch.obermuhlner.math.big.BigFloat
-
Returns the
BigFloat
that is- this
. - negative - Variable in class ch.obermuhlner.math.big.internal.CosCalculator
- negative - Variable in class ch.obermuhlner.math.big.internal.SinCalculator
- NEGATIVE_INFINITY - Enum constant in enum ch.obermuhlner.math.big.BigFloat.SpecialBigFloat.Type
- NEGATIVE_INFINITY - Static variable in class ch.obermuhlner.math.big.BigFloat
-
Represents the positive infinity.
- NEGATIVE_ONE - Variable in class ch.obermuhlner.math.big.BigFloat.Context
- NORMAL - Enum constant in enum ch.obermuhlner.math.big.BigFloat.SpecialBigFloat.Type
- numerator - Variable in class ch.obermuhlner.math.big.BigRational
O
- of(BigDecimal, BigDecimal) - Static method in class ch.obermuhlner.math.big.BigRational
- ONE - Static variable in class ch.obermuhlner.math.big.BigComplex
-
Real 1 represented as complex number.
- ONE - Variable in class ch.obermuhlner.math.big.BigFloat.Context
- ONE - Static variable in class ch.obermuhlner.math.big.BigRational
-
The value 1 as
BigRational
. - ONE_HALF - Static variable in class ch.obermuhlner.math.big.BigDecimalMath
- ONE_HUNDRED_EIGHTY - Static variable in class ch.obermuhlner.math.big.BigDecimalMath
- oneOverFactorialOfN - Variable in class ch.obermuhlner.math.big.internal.ExpCalculator
- Overview - Search tag in class ch.obermuhlner.math.big.BigFloat
- Section
P
- pi() - Method in class ch.obermuhlner.math.big.BigFloat.Context
-
Returns the constant pi with this context.
- pi() - Static method in class ch.obermuhlner.math.big.DefaultBigDecimalMath
-
Returns the number pi using the current
MathContext
. - pi(MathContext) - Static method in class ch.obermuhlner.math.big.BigDecimalMath
-
Returns the number pi.
- piCache - Static variable in class ch.obermuhlner.math.big.BigDecimalMath
- piCacheLock - Static variable in class ch.obermuhlner.math.big.BigDecimalMath
- piChudnovski(MathContext) - Static method in class ch.obermuhlner.math.big.BigDecimalMath
- popMathContext() - Static method in class ch.obermuhlner.math.big.DefaultBigDecimalMath
- POSITIVE_INFINITY - Enum constant in enum ch.obermuhlner.math.big.BigFloat.SpecialBigFloat.Type
- POSITIVE_INFINITY - Static variable in class ch.obermuhlner.math.big.BigFloat
-
Represents the positive infinity.
- pow(double) - Method in class ch.obermuhlner.math.big.BigFloat
- pow(int) - Method in class ch.obermuhlner.math.big.BigFloat
- pow(int) - Method in class ch.obermuhlner.math.big.BigRational
-
Calculates this rational number to the power (xy) of the specified argument.
- pow(long) - Method in class ch.obermuhlner.math.big.BigFloat
- pow(BigComplex, long, MathContext) - Static method in class ch.obermuhlner.math.big.BigComplexMath
-
Calculates
BigComplex
x to the power oflong
y (xy). - pow(BigComplex, BigComplex, MathContext) - Static method in class ch.obermuhlner.math.big.BigComplexMath
-
Calculates
BigComplex
x to the power ofBigComplex
y (xy). - pow(BigComplex, BigDecimal, MathContext) - Static method in class ch.obermuhlner.math.big.BigComplexMath
-
Calculates
BigComplex
x to the power ofBigDecimal
y (xy). - pow(BigFloat) - Method in class ch.obermuhlner.math.big.BigFloat
- pow(BigFloat) - Method in class ch.obermuhlner.math.big.BigFloat.SpecialBigFloat
- pow(BigFloat, BigFloat) - Static method in class ch.obermuhlner.math.big.BigFloat
-
Returns the
BigFloat
that ispow(x, y)
. - pow(BigDecimal) - Method in class ch.obermuhlner.math.big.BigFloat
- pow(BigDecimal, long) - Static method in class ch.obermuhlner.math.big.DefaultBigDecimalMath
- pow(BigDecimal, long, MathContext) - Static method in class ch.obermuhlner.math.big.BigDecimalMath
-
Calculates
BigDecimal
x to the power oflong
y (xy). - pow(BigDecimal, BigDecimal) - Static method in class ch.obermuhlner.math.big.DefaultBigDecimalMath
- pow(BigDecimal, BigDecimal, MathContext) - Static method in class ch.obermuhlner.math.big.BigDecimalMath
-
Calculates
BigDecimal
x to the power ofBigDecimal
y (xy). - PowerIterator - Interface in ch.obermuhlner.math.big.internal
-
Iterator over the powers of a value x.
- PowerNIterator - Class in ch.obermuhlner.math.big.internal
-
PowerIterator
to calculate xn. - PowerNIterator(BigDecimal, MathContext) - Constructor for class ch.obermuhlner.math.big.internal.PowerNIterator
- powerOfX - Variable in class ch.obermuhlner.math.big.internal.PowerNIterator
- powerOfX - Variable in class ch.obermuhlner.math.big.internal.PowerTwoNIterator
- powerOfX - Variable in class ch.obermuhlner.math.big.internal.PowerTwoNMinusOneIterator
- powerOfX - Variable in class ch.obermuhlner.math.big.internal.PowerTwoNPlusOneIterator
- PowerTwoNIterator - Class in ch.obermuhlner.math.big.internal
-
PowerIterator
to calculate x2*n. - PowerTwoNIterator(BigDecimal, MathContext) - Constructor for class ch.obermuhlner.math.big.internal.PowerTwoNIterator
- PowerTwoNMinusOneIterator - Class in ch.obermuhlner.math.big.internal
-
PowerIterator
to calculate x2*n-1. - PowerTwoNMinusOneIterator(BigDecimal, MathContext) - Constructor for class ch.obermuhlner.math.big.internal.PowerTwoNMinusOneIterator
- PowerTwoNPlusOneIterator - Class in ch.obermuhlner.math.big.internal
-
PowerIterator
to calculate x2*n+1. - PowerTwoNPlusOneIterator(BigDecimal, MathContext) - Constructor for class ch.obermuhlner.math.big.internal.PowerTwoNPlusOneIterator
- powInteger(BigDecimal, BigDecimal, MathContext) - Static method in class ch.obermuhlner.math.big.BigDecimalMath
-
Calculates
BigDecimal
x to the power of the integer value y (xy). - precision() - Method in class ch.obermuhlner.math.big.BigRational
- propertyException(String, String, T) - Static method in class ch.obermuhlner.math.big.DefaultBigDecimalMath
- pushMathContext(MathContext) - Static method in class ch.obermuhlner.math.big.DefaultBigDecimalMath
R
- range(double, double, double, BigFloat.Context) - Static method in class ch.obermuhlner.math.big.stream.BigFloatStream
-
Returns a sequential ordered
Stream<BigFloat>
fromstartInclusive
(inclusive) toendExclusive
(exclusive) by an incrementalstep
. - range(double, double, double, MathContext) - Static method in class ch.obermuhlner.math.big.stream.BigDecimalStream
-
Returns a sequential ordered
Stream<BigDecimal>
fromstartInclusive
(inclusive) toendExclusive
(exclusive) by an incrementalstep
. - range(long, long, long, BigFloat.Context) - Static method in class ch.obermuhlner.math.big.stream.BigFloatStream
-
Returns a sequential ordered
Stream<BigFloat>
fromstartInclusive
(inclusive) toendExclusive
(exclusive) by an incrementalstep
. - range(long, long, long, MathContext) - Static method in class ch.obermuhlner.math.big.stream.BigDecimalStream
-
Returns a sequential ordered
Stream<BigDecimal>
fromstartInclusive
(inclusive) toendExclusive
(exclusive) by an incrementalstep
. - range(BigFloat, BigFloat, BigFloat) - Static method in class ch.obermuhlner.math.big.stream.BigFloatStream
-
Returns a sequential ordered
Stream<BigFloat>
fromstartInclusive
(inclusive) toendExclusive
(exclusive) by an incrementalstep
. - range(BigDecimal, BigDecimal, BigDecimal, MathContext) - Static method in class ch.obermuhlner.math.big.stream.BigDecimalStream
-
Returns a sequential ordered
Stream<BigDecimal>
fromstartInclusive
(inclusive) toendExclusive
(exclusive) by an incrementalstep
. - rangeClosed(double, double, double, BigFloat.Context) - Static method in class ch.obermuhlner.math.big.stream.BigFloatStream
-
Returns a sequential ordered
Stream<BigFloat>
fromstartInclusive
(inclusive) toendInclusive
(inclusive) by an incrementalstep
. - rangeClosed(double, double, double, MathContext) - Static method in class ch.obermuhlner.math.big.stream.BigDecimalStream
-
Returns a sequential ordered
Stream<BigDecimal>
fromstartInclusive
(inclusive) toendInclusive
(inclusive) by an incrementalstep
. - rangeClosed(long, long, long, BigFloat.Context) - Static method in class ch.obermuhlner.math.big.stream.BigFloatStream
-
Returns a sequential ordered
Stream<BigFloat>
fromstartInclusive
(inclusive) toendInclusive
(inclusive) by an incrementalstep
. - rangeClosed(long, long, long, MathContext) - Static method in class ch.obermuhlner.math.big.stream.BigDecimalStream
-
Returns a sequential ordered
Stream<BigDecimal>
fromstartInclusive
(inclusive) toendInclusive
(inclusive) by an incrementalstep
. - rangeClosed(BigFloat, BigFloat, BigFloat) - Static method in class ch.obermuhlner.math.big.stream.BigFloatStream
-
Returns a sequential ordered
Stream<BigFloat>
fromstartInclusive
(inclusive) toendInclusive
(inclusive) by an incrementalstep
. - rangeClosed(BigDecimal, BigDecimal, BigDecimal, MathContext) - Static method in class ch.obermuhlner.math.big.stream.BigDecimalStream
-
Returns a sequential ordered
Stream<BigDecimal>
fromstartInclusive
(inclusive) toendInclusive
(inclusive) by an incrementalstep
. - re - Variable in class ch.obermuhlner.math.big.BigComplex
-
The real
BigDecimal
part of this complex number. - re() - Method in class ch.obermuhlner.math.big.BigComplex
-
Returns the real part of this complex number as
BigComplex
number. - reciprocal() - Method in class ch.obermuhlner.math.big.BigRational
-
Calculates the reciprocal of this rational number (1/x).
- reciprocal(BigComplex, MathContext) - Static method in class ch.obermuhlner.math.big.BigComplexMath
-
Calculates the reciprocal of the given complex number using the specified
MathContext
. - reciprocal(BigDecimal) - Static method in class ch.obermuhlner.math.big.DefaultBigDecimalMath
-
Calculates the reciprocal of the specified
BigDecimal
using the currentMathContext
. - reciprocal(BigDecimal, MathContext) - Static method in class ch.obermuhlner.math.big.BigDecimalMath
-
Calculates the reciprocal of the specified
BigDecimal
. - reciprocal(MathContext) - Method in class ch.obermuhlner.math.big.BigComplex
-
Calculates the reciprocal of this complex number using the specified
MathContext
. - reduce() - Method in class ch.obermuhlner.math.big.BigRational
-
Reduces this rational number to the smallest numerator/denominator with the same value.
- remainder(double) - Method in class ch.obermuhlner.math.big.BigFloat
- remainder(int) - Method in class ch.obermuhlner.math.big.BigFloat
- remainder(long) - Method in class ch.obermuhlner.math.big.BigFloat
- remainder(BigFloat) - Method in class ch.obermuhlner.math.big.BigFloat
- remainder(BigFloat) - Method in class ch.obermuhlner.math.big.BigFloat.SpecialBigFloat
- remainder(BigDecimal) - Method in class ch.obermuhlner.math.big.BigFloat
- remainder(BigDecimal, BigDecimal) - Static method in class ch.obermuhlner.math.big.DefaultBigDecimalMath
- root(double) - Method in class ch.obermuhlner.math.big.BigFloat
- root(int) - Method in class ch.obermuhlner.math.big.BigFloat
- root(long) - Method in class ch.obermuhlner.math.big.BigFloat
- root(BigComplex, BigComplex, MathContext) - Static method in class ch.obermuhlner.math.big.BigComplexMath
-
Calculates the
BigComplex
n'th root ofBigComplex
x (n√x). - root(BigComplex, BigDecimal, MathContext) - Static method in class ch.obermuhlner.math.big.BigComplexMath
-
Calculates the
BigDecimal
n'th root ofBigComplex
x (n√x). - root(BigFloat) - Method in class ch.obermuhlner.math.big.BigFloat
- root(BigFloat) - Method in class ch.obermuhlner.math.big.BigFloat.SpecialBigFloat
- root(BigFloat, BigFloat) - Static method in class ch.obermuhlner.math.big.BigFloat
-
Returns the
BigFloat
that isroot(x, y)
. - root(BigDecimal) - Method in class ch.obermuhlner.math.big.BigFloat
- root(BigDecimal, BigDecimal) - Static method in class ch.obermuhlner.math.big.DefaultBigDecimalMath
-
Calculates the n'th root of
BigDecimal
x using the currentMathContext
. - root(BigDecimal, BigDecimal, MathContext) - Static method in class ch.obermuhlner.math.big.BigDecimalMath
-
Calculates the n'th root of
BigDecimal
x. - rootUsingNewtonRaphson(BigDecimal, BigDecimal, BigDecimal, MathContext) - Static method in class ch.obermuhlner.math.big.BigDecimalMath
- ROUGHLY_TWO_PI - Static variable in class ch.obermuhlner.math.big.BigDecimalMath
- round(BigDecimal) - Static method in class ch.obermuhlner.math.big.DefaultBigDecimalMath
-
Rounds the specified
BigDecimal
to the precision of the currentMathContext
. - round(BigDecimal, MathContext) - Static method in class ch.obermuhlner.math.big.BigDecimalMath
-
Rounds the specified
BigDecimal
to the precision of the specifiedMathContext
. - round(MathContext) - Method in class ch.obermuhlner.math.big.BigComplex
-
Returns this complex nuber rounded to the specified precision.
- roundWithTrailingZeroes(BigDecimal) - Static method in class ch.obermuhlner.math.big.DefaultBigDecimalMath
-
Rounds the specified
BigDecimal
to the precision of the currentMathContext
including trailing zeroes. - roundWithTrailingZeroes(BigDecimal, MathContext) - Static method in class ch.obermuhlner.math.big.BigDecimalMath
-
Rounds the specified
BigDecimal
to the precision of the specifiedMathContext
including trailing zeroes.
S
- serialVersionUID - Static variable in class ch.obermuhlner.math.big.BigFloat.Context
- serialVersionUID - Static variable in class ch.obermuhlner.math.big.BigFloat
- SeriesCalculator - Class in ch.obermuhlner.math.big.internal
-
Utility class to calculate taylor series efficiently until the maximum error (as defined by the precision in the
MathContext
is reached. - SeriesCalculator() - Constructor for class ch.obermuhlner.math.big.internal.SeriesCalculator
-
Constructs a
SeriesCalculator
that calculates single terms. - SeriesCalculator(boolean) - Constructor for class ch.obermuhlner.math.big.internal.SeriesCalculator
-
Constructs a
SeriesCalculator
with control over whether the sum terms are calculated in pairs. - setDefaultMathContext(MathContext) - Static method in class ch.obermuhlner.math.big.DefaultBigDecimalMath
-
Sets the default
MathContext
used if no otherMathContext
is defined usingDefaultBigDecimalMath.withLocalMathContext(MathContext, Runnable)
. - significantDigits(BigDecimal) - Static method in class ch.obermuhlner.math.big.BigDecimalMath
-
Returns the number of significant digits of the specified
BigDecimal
. - signum() - Method in class ch.obermuhlner.math.big.BigFloat
-
Returns the signum function of this
BigFloat
. - signum() - Method in class ch.obermuhlner.math.big.BigFloat.SpecialBigFloat
- signum() - Method in class ch.obermuhlner.math.big.BigRational
-
Returns the signum function of this rational number.
- sin(BigComplex, MathContext) - Static method in class ch.obermuhlner.math.big.BigComplexMath
-
Calculates the sine (sinus) of
BigComplex
x in the complex domain. - sin(BigFloat) - Static method in class ch.obermuhlner.math.big.BigFloat
-
Returns the
BigFloat
that issin(x)
. - sin(BigDecimal) - Static method in class ch.obermuhlner.math.big.DefaultBigDecimalMath
-
Calculates the sine (sinus) of
BigDecimal
x using the currentMathContext
. - sin(BigDecimal, MathContext) - Static method in class ch.obermuhlner.math.big.BigDecimalMath
-
Calculates the sine (sinus) of
BigDecimal
x. - SinCalculator - Class in ch.obermuhlner.math.big.internal
-
Calculates sinus using the Maclaurin series.
- SinCalculator() - Constructor for class ch.obermuhlner.math.big.internal.SinCalculator
- sinh(BigFloat) - Static method in class ch.obermuhlner.math.big.BigFloat
-
Returns the
BigFloat
that issinh(x)
. - sinh(BigDecimal) - Static method in class ch.obermuhlner.math.big.DefaultBigDecimalMath
-
Calculates the hyperbolic sine of
BigDecimal
x using the currentMathContext
. - sinh(BigDecimal, MathContext) - Static method in class ch.obermuhlner.math.big.BigDecimalMath
-
Calculates the hyperbolic sine of
BigDecimal
x. - SinhCalculator - Class in ch.obermuhlner.math.big.internal
-
Calculates sinus hyperbolicus using the Taylor series.
- SinhCalculator() - Constructor for class ch.obermuhlner.math.big.internal.SinhCalculator
- SpecialBigFloat(BigFloat.SpecialBigFloat.Type) - Constructor for class ch.obermuhlner.math.big.BigFloat.SpecialBigFloat
- spougeFactorialConstantsCache - Static variable in class ch.obermuhlner.math.big.BigDecimalMath
- spougeFactorialConstantsCacheLock - Static variable in class ch.obermuhlner.math.big.BigDecimalMath
- sqrt(BigComplex, MathContext) - Static method in class ch.obermuhlner.math.big.BigComplexMath
-
Calculates the square root of
BigComplex
x in the complex domain (√x). - sqrt(BigFloat) - Static method in class ch.obermuhlner.math.big.BigFloat
-
Returns the
BigFloat
that issqrt(x)
. - sqrt(BigDecimal) - Static method in class ch.obermuhlner.math.big.DefaultBigDecimalMath
-
Calculates the square root of
BigDecimal
x using the currentMathContext
. - sqrt(BigDecimal, MathContext) - Static method in class ch.obermuhlner.math.big.BigDecimalMath
-
Calculates the square root of
BigDecimal
x. - step - Variable in class ch.obermuhlner.math.big.stream.BigDecimalStream.BigDecimalSpliterator
- step - Variable in class ch.obermuhlner.math.big.stream.BigFloatStream.BigFloatSpliterator
- strictEquals(Object) - Method in class ch.obermuhlner.math.big.BigComplex
-
Returns whether the real and imaginary parts of this complex number are strictly equal.
- subtract(double) - Method in class ch.obermuhlner.math.big.BigComplex
-
Calculates the subtraction of the given real
double
value from this complex number. - subtract(double) - Method in class ch.obermuhlner.math.big.BigFloat
-
Returns the
BigFloat
that isthis - x
. - subtract(int) - Method in class ch.obermuhlner.math.big.BigFloat
-
Returns the
BigFloat
that isthis - x
. - subtract(int) - Method in class ch.obermuhlner.math.big.BigRational
-
Calculates the subtraction (-) of this rational number and the specified argument.
- subtract(long) - Method in class ch.obermuhlner.math.big.BigFloat
-
Returns the
BigFloat
that isthis - x
. - subtract(BigComplex) - Method in class ch.obermuhlner.math.big.BigComplex
-
Calculates the subtraction of the given complex value from this complex number.
- subtract(BigComplex, MathContext) - Method in class ch.obermuhlner.math.big.BigComplex
-
Calculates the subtraction of the given complex value from this complex number using the specified
MathContext
. - subtract(BigFloat) - Method in class ch.obermuhlner.math.big.BigFloat.SpecialBigFloat
- subtract(BigFloat) - Method in class ch.obermuhlner.math.big.BigFloat
-
Returns the
BigFloat
that isthis - x
. - subtract(BigRational) - Method in class ch.obermuhlner.math.big.BigRational
-
Calculates the subtraction (-) of this rational number and the specified argument.
- subtract(BigDecimal) - Method in class ch.obermuhlner.math.big.BigComplex
-
Calculates the subtraction of the given real
BigDecimal
value from this complex number. - subtract(BigDecimal) - Method in class ch.obermuhlner.math.big.BigFloat.SpecialBigFloat
- subtract(BigDecimal) - Method in class ch.obermuhlner.math.big.BigFloat
-
Returns the
BigFloat
that isthis - x
. - subtract(BigDecimal) - Method in class ch.obermuhlner.math.big.BigRational
- subtract(BigDecimal, BigDecimal) - Static method in class ch.obermuhlner.math.big.DefaultBigDecimalMath
- subtract(BigDecimal, MathContext) - Method in class ch.obermuhlner.math.big.BigComplex
-
Calculates the subtraction of the given real
BigDecimal
value from this complex number using the specifiedMathContext
. - subtract(BigInteger) - Method in class ch.obermuhlner.math.big.BigRational
-
Calculates the subtraction (-) of this rational number and the specified argument.
T
- tan(BigComplex, MathContext) - Static method in class ch.obermuhlner.math.big.BigComplexMath
-
Calculates the tangens of
BigComplex
x in the complex domain. - tan(BigFloat) - Static method in class ch.obermuhlner.math.big.BigFloat
-
Returns the
BigFloat
that istan(x)
. - tan(BigDecimal) - Static method in class ch.obermuhlner.math.big.DefaultBigDecimalMath
-
Calculates the tangens of
BigDecimal
x using the currentMathContext
. - tan(BigDecimal, MathContext) - Static method in class ch.obermuhlner.math.big.BigDecimalMath
-
Calculates the tangens of
BigDecimal
x. - tanh(BigFloat) - Static method in class ch.obermuhlner.math.big.BigFloat
-
Returns the
BigFloat
that istanh(x)
. - tanh(BigDecimal) - Static method in class ch.obermuhlner.math.big.DefaultBigDecimalMath
-
Calculates the hyperbolic tangens of
BigDecimal
x using the currentMathContext
. - tanh(BigDecimal, MathContext) - Static method in class ch.obermuhlner.math.big.BigDecimalMath
-
Calculates the hyperbolic tangens of
BigDecimal
x. - TEN - Static variable in class ch.obermuhlner.math.big.BigRational
-
The value 10 as
BigRational
. - THREE - Static variable in class ch.obermuhlner.math.big.BigDecimalMath
- toBigDecimal() - Method in class ch.obermuhlner.math.big.BigFloat.SpecialBigFloat
- toBigDecimal() - Method in class ch.obermuhlner.math.big.BigFloat
-
Returns
this
value as aBigDecimal
value. - toBigDecimal() - Method in class ch.obermuhlner.math.big.BigRational
-
Returns this rational number as a
BigDecimal
. - toBigDecimal(String) - Static method in class ch.obermuhlner.math.big.BigDecimalMath
-
Creates a
BigDecimal
from the specifiedString
representation. - toBigDecimal(String, MathContext) - Static method in class ch.obermuhlner.math.big.BigDecimalMath
-
Creates a
BigDecimal
from the specifiedString
representation. - toBigDecimal(String, MathContext, int) - Static method in class ch.obermuhlner.math.big.BigDecimalMath
- toBigDecimal(MathContext) - Method in class ch.obermuhlner.math.big.BigRational
-
Returns this rational number as a
BigDecimal
with the precision specified by theMathContext
. - toBigDecimalRecursive(char[], int, int, int, int) - Static method in class ch.obermuhlner.math.big.BigDecimalMath
- toDegrees(BigDecimal, MathContext) - Static method in class ch.obermuhlner.math.big.BigDecimalMath
-
Converts an angle measured in radians to an approximately equivalent angle measured in degrees.
- toDouble() - Method in class ch.obermuhlner.math.big.BigFloat.SpecialBigFloat
- toDouble() - Method in enum ch.obermuhlner.math.big.BigFloat.SpecialBigFloat.Type
-
convert type to double
- toDouble() - Method in class ch.obermuhlner.math.big.BigFloat
-
Returns
this
value as adouble
value. - toDouble() - Method in class ch.obermuhlner.math.big.BigRational
-
Returns this rational number as a double value.
- toFloat() - Method in class ch.obermuhlner.math.big.BigRational
-
Returns this rational number as a float value.
- toInt() - Method in class ch.obermuhlner.math.big.BigFloat.SpecialBigFloat
- toInt() - Method in class ch.obermuhlner.math.big.BigFloat
-
Returns
this
value as aint
value. - toIntegerRationalString() - Method in class ch.obermuhlner.math.big.BigRational
-
Returns the string representation of this rational number as integer and fraction parts in the form "integerPart fractionNominator/fractionDenominator".
- toLong() - Method in class ch.obermuhlner.math.big.BigFloat.SpecialBigFloat
- toLong() - Method in class ch.obermuhlner.math.big.BigFloat
-
Returns
this
value as along
value. - toPlainString() - Method in class ch.obermuhlner.math.big.BigRational
-
Returns a plain string representation of this rational number without any exponent.
- toRadians(BigDecimal, MathContext) - Static method in class ch.obermuhlner.math.big.BigDecimalMath
-
/** Converts an angle measured in degrees to an approximately equivalent angle measured in radians.
- toRationalString() - Method in class ch.obermuhlner.math.big.BigRational
-
Returns the string representation of this rational number in the form "numerator/denominator".
- toString() - Method in class ch.obermuhlner.math.big.BigComplex
- toString() - Method in class ch.obermuhlner.math.big.BigFloat.Context
- toString() - Method in class ch.obermuhlner.math.big.BigFloat.SpecialBigFloat
- toString() - Method in class ch.obermuhlner.math.big.BigFloat
- toString() - Method in class ch.obermuhlner.math.big.BigRational
- tryAdvance(Consumer<? super BigFloat>) - Method in class ch.obermuhlner.math.big.stream.BigFloatStream.BigFloatSpliterator
- tryAdvance(Consumer<? super BigDecimal>) - Method in class ch.obermuhlner.math.big.stream.BigDecimalStream.BigDecimalSpliterator
- trySplit() - Method in class ch.obermuhlner.math.big.stream.BigDecimalStream.BigDecimalSpliterator
- trySplit() - Method in class ch.obermuhlner.math.big.stream.BigFloatStream.BigFloatSpliterator
- TWO - Static variable in class ch.obermuhlner.math.big.BigComplexMath
- TWO - Static variable in class ch.obermuhlner.math.big.BigDecimalMath
- TWO - Static variable in class ch.obermuhlner.math.big.BigRational
-
The value 2 as
BigRational
. - type - Variable in class ch.obermuhlner.math.big.BigFloat.SpecialBigFloat
- type() - Method in class ch.obermuhlner.math.big.BigFloat.SpecialBigFloat
- type() - Method in class ch.obermuhlner.math.big.BigFloat
-
return special type of a value
- Type(int) - Constructor for enum ch.obermuhlner.math.big.BigFloat.SpecialBigFloat.Type
U
- Usage - Search tag in class ch.obermuhlner.math.big.BigFloat
- Section
V
- value - Variable in class ch.obermuhlner.math.big.BigFloat
- value - Variable in class ch.obermuhlner.math.big.stream.BigDecimalStream.BigDecimalSpliterator
- value - Variable in class ch.obermuhlner.math.big.stream.BigFloatStream.BigFloatSpliterator
- valueOf(boolean, String, String, String, String) - Static method in class ch.obermuhlner.math.big.BigRational
- valueOf(double) - Static method in class ch.obermuhlner.math.big.BigComplex
-
Returns a complex number with the specified real
double
part. - valueOf(double) - Method in class ch.obermuhlner.math.big.BigFloat.Context
-
Creates a
BigFloat
value with this context. - valueOf(double) - Static method in class ch.obermuhlner.math.big.BigRational
-
Creates a rational number of the specified double value.
- valueOf(double, double) - Static method in class ch.obermuhlner.math.big.BigComplex
-
Returns a complex number with the specified real and imaginary
double
parts. - valueOf(int) - Method in class ch.obermuhlner.math.big.BigFloat.Context
-
Creates a
BigFloat
value with this context. - valueOf(int) - Static method in class ch.obermuhlner.math.big.BigRational
-
Creates a rational number of the specified int value.
- valueOf(int, boolean) - Method in class ch.obermuhlner.math.big.BigFloat.Context
-
parse unsigned value with this logic
- valueOf(int, int) - Static method in class ch.obermuhlner.math.big.BigRational
-
Creates a rational number of the specified numerator/denominator int values.
- valueOf(int, int, int) - Static method in class ch.obermuhlner.math.big.BigRational
-
Creates a rational number of the specified integer and fraction parts.
- valueOf(long) - Method in class ch.obermuhlner.math.big.BigFloat.Context
-
Creates a
BigFloat
value with this context. - valueOf(long, boolean) - Method in class ch.obermuhlner.math.big.BigFloat.Context
-
parse unsigned value with this logic
- valueOf(BigFloat) - Method in class ch.obermuhlner.math.big.BigFloat.Context
-
Creates a
BigFloat
value with this context. - valueOf(String) - Method in class ch.obermuhlner.math.big.BigFloat.Context
-
Creates a
BigFloat
value with this context. - valueOf(String) - Static method in enum ch.obermuhlner.math.big.BigFloat.SpecialBigFloat.Type
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in class ch.obermuhlner.math.big.BigRational
-
Creates a rational number of the specified string representation.
- valueOf(BigDecimal) - Static method in class ch.obermuhlner.math.big.BigComplex
-
Returns a complex number with the specified real
BigDecimal
part. - valueOf(BigDecimal) - Method in class ch.obermuhlner.math.big.BigFloat.Context
-
Creates a
BigFloat
value with this context. - valueOf(BigDecimal) - Static method in class ch.obermuhlner.math.big.BigRational
-
Creates a rational number of the specified
BigDecimal
value. - valueOf(BigDecimal, BigDecimal) - Static method in class ch.obermuhlner.math.big.BigComplex
-
Returns a complex number with the specified real and imaginary
BigDecimal
parts. - valueOf(BigDecimal, BigDecimal) - Static method in class ch.obermuhlner.math.big.BigRational
-
Creates a rational number of the specified numerator/denominator BigDecimal values.
- valueOf(BigInteger) - Static method in class ch.obermuhlner.math.big.BigRational
-
Creates a rational number of the specified
BigInteger
value. - valueOf(BigInteger, BigInteger) - Static method in class ch.obermuhlner.math.big.BigRational
-
Creates a rational number of the specified numerator/denominator BigInteger values.
- valueOfPolar(double, double, MathContext) - Static method in class ch.obermuhlner.math.big.BigComplex
- valueOfPolar(BigDecimal, BigDecimal, MathContext) - Static method in class ch.obermuhlner.math.big.BigComplex
-
Returns a complex number with the specified polar
BigDecimal
radius and angle using the specifiedMathContext
. - valueOfSimple(String) - Static method in class ch.obermuhlner.math.big.BigRational
- values() - Static method in enum ch.obermuhlner.math.big.BigFloat.SpecialBigFloat.Type
-
Returns an array containing the constants of this enum type, in the order they are declared.
W
- withLocalMathContext(int, Runnable) - Static method in class ch.obermuhlner.math.big.DefaultBigDecimalMath
-
Executes the given
Runnable
using the specified precision. - withLocalMathContext(int, RoundingMode, Runnable) - Static method in class ch.obermuhlner.math.big.DefaultBigDecimalMath
-
Executes the given
Runnable
using the specified precision andRoundingMode
. - withLocalMathContext(MathContext, Runnable) - Static method in class ch.obermuhlner.math.big.DefaultBigDecimalMath
-
Executes the given
Runnable
using the specifiedMathContext
. - withPrecision(int) - Method in class ch.obermuhlner.math.big.BigRational
-
Returns a rational number with approximatively
this
value and the specified precision. - withScale(int) - Method in class ch.obermuhlner.math.big.BigRational
-
Returns a rational number with approximatively
this
value and the specified scale.
X
- x - Variable in class ch.obermuhlner.math.big.internal.PowerNIterator
- xPowerTwo - Variable in class ch.obermuhlner.math.big.internal.PowerTwoNIterator
- xPowerTwo - Variable in class ch.obermuhlner.math.big.internal.PowerTwoNMinusOneIterator
- xPowerTwo - Variable in class ch.obermuhlner.math.big.internal.PowerTwoNPlusOneIterator
Z
- ZERO - Static variable in class ch.obermuhlner.math.big.BigComplex
-
Zero represented as complex number.
- ZERO - Variable in class ch.obermuhlner.math.big.BigFloat.Context
- ZERO - Static variable in class ch.obermuhlner.math.big.BigRational
-
The value 0 as
BigRational
.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form