Index
All Classes and Interfaces|All Packages|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
BigFloatthat 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
BigComplexx in the complex domain. - acos(BigFloat) - Static method in class ch.obermuhlner.math.big.BigFloat
-
Returns the
BigFloatthat isacos(x). - acos(BigDecimal) - Static method in class ch.obermuhlner.math.big.DefaultBigDecimalMath
-
Calculates the arc cosine (inverted cosine) of
BigDecimalx using the currentMathContext. - acos(BigDecimal, MathContext) - Static method in class ch.obermuhlner.math.big.BigDecimalMath
-
Calculates the arc cosine (inverted cosine) of
BigDecimalx. - acosh(BigFloat) - Static method in class ch.obermuhlner.math.big.BigFloat
-
Returns the
BigFloatthat isacosh(x). - acosh(BigDecimal) - Static method in class ch.obermuhlner.math.big.DefaultBigDecimalMath
-
Calculates the arc hyperbolic cosine (inverse hyperbolic cosine) of
BigDecimalx using the currentMathContext. - acosh(BigDecimal, MathContext) - Static method in class ch.obermuhlner.math.big.BigDecimalMath
-
Calculates the arc hyperbolic cosine (inverse hyperbolic cosine) of
BigDecimalx. - acot(BigComplex, MathContext) - Static method in class ch.obermuhlner.math.big.BigComplexMath
-
Calculates the arc cotangens (inverted cotangens) of
BigComplexx in the complex domain. - acot(BigFloat) - Static method in class ch.obermuhlner.math.big.BigFloat
-
Returns the
BigFloatthat isacot(x). - acot(BigDecimal) - Static method in class ch.obermuhlner.math.big.DefaultBigDecimalMath
-
Calculates the inverse cotangens (arc cotangens) of
BigDecimalx using the currentMathContext. - acot(BigDecimal, MathContext) - Static method in class ch.obermuhlner.math.big.BigDecimalMath
-
Calculates the inverse cotangens (arc cotangens) of
BigDecimalx. - acoth(BigFloat) - Static method in class ch.obermuhlner.math.big.BigFloat
-
Returns the
BigFloatthat isacoth(x). - acoth(BigDecimal) - Static method in class ch.obermuhlner.math.big.DefaultBigDecimalMath
-
Calculates the arc hyperbolic cotangens (inverse hyperbolic cotangens) of
BigDecimalx using the currentMathContext. - acoth(BigDecimal, MathContext) - Static method in class ch.obermuhlner.math.big.BigDecimalMath
-
Calculates the arc hyperbolic cotangens (inverse hyperbolic cotangens) of
BigDecimalx. - add(double) - Method in class ch.obermuhlner.math.big.BigComplex
-
Calculates the addition of the given real
doublevalue to this complex number. - add(double) - Method in class ch.obermuhlner.math.big.BigFloat
-
Returns the
BigFloatthat isthis + x. - add(int) - Method in class ch.obermuhlner.math.big.BigFloat
-
Returns the
BigFloatthat 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
BigFloatthat 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
BigFloatthat isthis + x. - 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
BigDecimalvalue to this complex number. - add(BigDecimal) - Method in class ch.obermuhlner.math.big.BigFloat
-
Returns the
BigFloatthat isthis + x. - 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
BigDecimalvalue 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.
- 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
BigComplexx in the complex domain. - asin(BigFloat) - Static method in class ch.obermuhlner.math.big.BigFloat
-
Returns the
BigFloatthat isasin(x). - asin(BigDecimal) - Static method in class ch.obermuhlner.math.big.DefaultBigDecimalMath
-
Calculates the arc sine (inverted sine) of
BigDecimalx using the currentMathContext. - asin(BigDecimal, MathContext) - Static method in class ch.obermuhlner.math.big.BigDecimalMath
-
Calculates the arc sine (inverted sine) of
BigDecimalx. - AsinCalculator - Class in ch.obermuhlner.math.big.internal
-
Calculates arc sinus using the Maclaurin series.
- asinh(BigFloat) - Static method in class ch.obermuhlner.math.big.BigFloat
-
Returns the
BigFloatthat isasinh(x). - asinh(BigDecimal) - Static method in class ch.obermuhlner.math.big.DefaultBigDecimalMath
-
Calculates the arc hyperbolic sine (inverse hyperbolic sine) of
BigDecimalx using the currentMathContext. - asinh(BigDecimal, MathContext) - Static method in class ch.obermuhlner.math.big.BigDecimalMath
-
Calculates the arc hyperbolic sine (inverse hyperbolic sine) of
BigDecimalx. - atan(BigComplex, MathContext) - Static method in class ch.obermuhlner.math.big.BigComplexMath
-
Calculates the arc tangens (inverted tangens) of
BigComplexx in the complex domain. - atan(BigFloat) - Static method in class ch.obermuhlner.math.big.BigFloat
-
Returns the
BigFloatthat isatan(x). - atan(BigDecimal) - Static method in class ch.obermuhlner.math.big.DefaultBigDecimalMath
-
Calculates the arc tangens (inverted tangens) of
BigDecimalx using the currentMathContext. - atan(BigDecimal, MathContext) - Static method in class ch.obermuhlner.math.big.BigDecimalMath
-
Calculates the arc tangens (inverted tangens) of
BigDecimalx. - atan2(BigDecimal, BigDecimal) - Static method in class ch.obermuhlner.math.big.DefaultBigDecimalMath
-
Calculates the arc tangens (inverted tangens) of
BigDecimaly / 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
BigDecimaly / x in the range -pi to pi. - atanh(BigFloat) - Static method in class ch.obermuhlner.math.big.BigFloat
-
Returns the
BigFloatthat isatanh(x). - atanh(BigDecimal) - Static method in class ch.obermuhlner.math.big.DefaultBigDecimalMath
-
Calculates the arc hyperbolic tangens (inverse hyperbolic tangens) of
BigDecimalx using the currentMathContext. - atanh(BigDecimal, MathContext) - Static method in class ch.obermuhlner.math.big.BigDecimalMath
-
Calculates the arc hyperbolic tangens (inverse hyperbolic tangens) of
BigDecimalx. - AtanhCalculator - Class in ch.obermuhlner.math.big.internal
-
Calculates sinus hyperbolicus using the Taylor series.
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.
- BigComplex - Class in ch.obermuhlner.math.big
-
Represents a complex number consisting of a real and an imaginary
BigDecimalpart in the forma + bi. - BigComplexMath - Class in ch.obermuhlner.math.big
-
Provides advanced functions operating on
BigComplexs. - BigComplexMath() - Constructor for class ch.obermuhlner.math.big.BigComplexMath
- BigDecimalMath - Class in ch.obermuhlner.math.big
-
Provides advanced functions operating on
BigDecimals. - BigDecimalStream - Class in ch.obermuhlner.math.big.stream
-
Provides constructor methods for streams of
BigDecimalelements. - BigDecimalStream() - Constructor for class ch.obermuhlner.math.big.stream.BigDecimalStream
- BigFloat - Class in ch.obermuhlner.math.big
-
A wrapper around
BigDecimalwhich simplifies the consistent usage of theMathContextand provides a simpler API for calculations. - BigFloat.Context - Class in ch.obermuhlner.math.big
-
Manages the
MathContextand provides factory methods forBigFloatvalues. - BigFloatStream - Class in ch.obermuhlner.math.big.stream
-
Provides constructor methods for streams of
BigFloatelements. - BigFloatStream() - Constructor for class ch.obermuhlner.math.big.stream.BigFloatStream
- BigRational - Class in ch.obermuhlner.math.big
-
A rational number represented as a quotient of two values.
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. - 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
- close() - Method in class ch.obermuhlner.math.big.DefaultBigDecimalMath.LocalMathContext
- compareTo(BigFloat) - Method in class ch.obermuhlner.math.big.BigFloat
- compareTo(BigRational) - Method in class ch.obermuhlner.math.big.BigRational
- conjugate() - Method in class ch.obermuhlner.math.big.BigComplex
-
Calculates the conjugate
a - biof 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(int) - Static method in class ch.obermuhlner.math.big.BigFloat
-
Creates a
BigFloat.Contextwith the specified precision andRoundingMode.HALF_UProunding. - context(MathContext) - Static method in class ch.obermuhlner.math.big.BigFloat
-
Creates a
BigFloat.Contextwith the specifiedMathContext. - cos(BigComplex, MathContext) - Static method in class ch.obermuhlner.math.big.BigComplexMath
-
Calculates the cosine (cosinus) of
BigComplexx in the complex domain. - cos(BigFloat) - Static method in class ch.obermuhlner.math.big.BigFloat
-
Returns the
BigFloatthat iscos(x). - cos(BigDecimal) - Static method in class ch.obermuhlner.math.big.DefaultBigDecimalMath
-
Calculates the cosine (cosinus) of
BigDecimalx using the currentMathContext. - cos(BigDecimal, MathContext) - Static method in class ch.obermuhlner.math.big.BigDecimalMath
-
Calculates the cosine (cosinus) of
BigDecimalx. - CosCalculator - Class in ch.obermuhlner.math.big.internal
-
Calculates cosinus using the Maclaurin series.
- cosh(BigFloat) - Static method in class ch.obermuhlner.math.big.BigFloat
-
Returns the
BigFloatthat iscosh(x). - cosh(BigDecimal) - Static method in class ch.obermuhlner.math.big.DefaultBigDecimalMath
-
Calculates the hyperbolic cosine of
BigDecimalx using the currentMathContext. - cosh(BigDecimal, MathContext) - Static method in class ch.obermuhlner.math.big.BigDecimalMath
-
Calculates the hyperbolic cosine of
BigDecimalx. - CoshCalculator - Class in ch.obermuhlner.math.big.internal
-
Calculates cosinus hyperbolicus using the Taylor series.
- cot(BigFloat) - Static method in class ch.obermuhlner.math.big.BigFloat
-
Returns the
BigFloatthat iscot(x). - cot(BigDecimal) - Static method in class ch.obermuhlner.math.big.DefaultBigDecimalMath
-
Calculates the cotangens of
BigDecimalx using the currentMathContext. - cot(BigDecimal, MathContext) - Static method in class ch.obermuhlner.math.big.BigDecimalMath
-
Calculates the cotangens of
BigDecimalx. - coth(BigFloat) - Static method in class ch.obermuhlner.math.big.BigFloat
-
Returns the
BigFloatthat iscoth(x). - coth(BigDecimal) - Static method in class ch.obermuhlner.math.big.DefaultBigDecimalMath
-
Calculates the hyperbolic cotangens of
BigDecimalx using the currentMathContext. - coth(BigDecimal, MathContext) - Static method in class ch.obermuhlner.math.big.BigDecimalMath
-
Calculates the hyperbolic cotangens of
BigDecimalx. - createLocalMathContext(int) - Static method in class ch.obermuhlner.math.big.DefaultBigDecimalMath
-
Executes the given
Runnableusing the specified precision. - createLocalMathContext(int, RoundingMode) - Static method in class ch.obermuhlner.math.big.DefaultBigDecimalMath
-
Executes the given
Runnableusing the specified precision andRoundingMode. - createLocalMathContext(MathContext) - Static method in class ch.obermuhlner.math.big.DefaultBigDecimalMath
-
Executes the given
Runnableusing 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
PowerIteratorused 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
MathContextused 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
BigDecimalMaththat passes a currentMathContextto the functions that need aMathContextargument. - 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
MathContexton the stack. - divide(double) - Method in class ch.obermuhlner.math.big.BigFloat
-
Returns the
BigFloatthat isthis / x. - divide(double, MathContext) - Method in class ch.obermuhlner.math.big.BigComplex
-
Calculates this complex number divided by the given real
doublevalue using the specifiedMathContext. - divide(int) - Method in class ch.obermuhlner.math.big.BigFloat
-
Returns the
BigFloatthat 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
BigFloatthat 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
BigFloatthat isthis / x. - 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
BigFloatthat isthis / x. - 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
BigDecimalvalue using the specifiedMathContext. - divide(BigInteger) - Method in class ch.obermuhlner.math.big.BigRational
-
Calculates the division (/) of this rational number and the specified argument.
- doubleValue() - Method in class ch.obermuhlner.math.big.BigRational
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.
- 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.BigRational
- exp(BigComplex, MathContext) - Static method in class ch.obermuhlner.math.big.BigComplexMath
-
Calculates the natural exponent of
BigComplexx (ex) in the complex domain. - exp(BigFloat) - Static method in class ch.obermuhlner.math.big.BigFloat
-
Returns the
BigFloatthat isexp(x). - exp(BigDecimal) - Static method in class ch.obermuhlner.math.big.DefaultBigDecimalMath
-
Calculates the natural exponent of
BigDecimalx (ex) using the currentMathContext. - exp(BigDecimal, MathContext) - Static method in class ch.obermuhlner.math.big.BigDecimalMath
-
Calculates the natural exponent of
BigDecimalx (ex). - ExpCalculator - Class in ch.obermuhlner.math.big.internal
-
Calculates exp using the Maclaurin series.
- exponent(BigDecimal) - Static method in class ch.obermuhlner.math.big.BigDecimalMath
-
Returns the exponent of the specified
BigDecimalwritten as mantissa * 10exponent.
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
BigDecimalusing the currentMathContext. - factorial(BigDecimal, MathContext) - Static method in class ch.obermuhlner.math.big.BigDecimalMath
-
Calculates the factorial of the specified
BigDecimal. - floatValue() - Method in class ch.obermuhlner.math.big.BigRational
- 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
BigDecimalusing the currentMathContext. - gamma(BigDecimal, MathContext) - Static method in class ch.obermuhlner.math.big.BigDecimalMath
-
Calculates the gamma function of the specified
BigDecimal. - getContext() - Method in class ch.obermuhlner.math.big.BigFloat
-
Returns the
BigFloat.Contextofthisvalue. - 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
MathContextused 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
thisvalue written as mantissa * 10exponent. - 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
thisvalue (right of the decimal point). - getIntegralPart() - Method in class ch.obermuhlner.math.big.BigFloat
-
Returns the integral part of
thisvalue (left of the decimal point). - getMantissa() - Method in class ch.obermuhlner.math.big.BigFloat
-
Returns the mantissa of
thisvalue written as mantissa * 10exponent. - getMathContext() - Method in class ch.obermuhlner.math.big.BigFloat.Context
-
Returns the
MathContextof 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
RoundingModeof this context.
H
- 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.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
BigDecimalpart of this complex number. - im() - Method in class ch.obermuhlner.math.big.BigComplex
-
Returns the imaginary part of this complex number as
BigComplexnumber. - 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(BigDecimal) - Static method in class ch.obermuhlner.math.big.BigDecimalMath
-
Returns whether the specified
BigDecimalvalue can be represented asdouble. - isEqual(BigFloat) - Method in class ch.obermuhlner.math.big.BigFloat
-
Returns whether
thisvalue is mathematically equal to theothervalue. - isGreaterThan(BigFloat) - Method in class ch.obermuhlner.math.big.BigFloat
-
Returns whether
thisvalue is mathematically greater than to theothervalue. - isGreaterThanOrEqual(BigFloat) - Method in class ch.obermuhlner.math.big.BigFloat
-
Returns whether
thisvalue is mathematically greater than or equal to theothervalue. - 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.
- isIntValue() - Method in class ch.obermuhlner.math.big.BigFloat
-
Returns whether
thisvalue can be represented asint. - isIntValue(BigDecimal) - Static method in class ch.obermuhlner.math.big.BigDecimalMath
-
Returns whether the specified
BigDecimalvalue can be represented asint. - isLessThan(BigFloat) - Method in class ch.obermuhlner.math.big.BigFloat
-
Returns whether
thisvalue is mathematically less than to theothervalue. - isLessThanOrEqual(BigFloat) - Method in class ch.obermuhlner.math.big.BigFloat
-
Returns whether
thisvalue is mathematically less than or equal to theothervalue. - isLongValue(BigDecimal) - Static method in class ch.obermuhlner.math.big.BigDecimalMath
-
Returns whether the specified
BigDecimalvalue 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
BigFloatis negative. - isPositive() - Method in class ch.obermuhlner.math.big.BigFloat
-
Returns whether this
BigFloatis positive. - 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
- isZero() - Method in class ch.obermuhlner.math.big.BigFloat
-
Returns whether this
BigFloatis 0. - isZero() - Method in class ch.obermuhlner.math.big.BigRational
-
Returns whether this rational number is zero.
L
- log(BigComplex, MathContext) - Static method in class ch.obermuhlner.math.big.BigComplexMath
-
Calculates the natural logarithm of
BigComplexx in the complex domain. - log(BigFloat) - Static method in class ch.obermuhlner.math.big.BigFloat
-
Returns the
BigFloatthat islog(x). - log(BigDecimal) - Static method in class ch.obermuhlner.math.big.DefaultBigDecimalMath
-
Calculates the natural logarithm of
BigDecimalx using the currentMathContext. - log(BigDecimal, MathContext) - Static method in class ch.obermuhlner.math.big.BigDecimalMath
-
Calculates the natural logarithm of
BigDecimalx. - log10(BigFloat) - Static method in class ch.obermuhlner.math.big.BigFloat
-
Returns the
BigFloatthat islog10(x). - log10(BigDecimal) - Static method in class ch.obermuhlner.math.big.DefaultBigDecimalMath
-
Calculates the logarithm of
BigDecimalx to the base 10 using the currentMathContext. - log10(BigDecimal, MathContext) - Static method in class ch.obermuhlner.math.big.BigDecimalMath
-
Calculates the logarithm of
BigDecimalx to the base 10. - log2(BigFloat) - Static method in class ch.obermuhlner.math.big.BigFloat
-
Returns the
BigFloatthat islog2(x). - log2(BigDecimal) - Static method in class ch.obermuhlner.math.big.DefaultBigDecimalMath
-
Calculates the logarithm of
BigDecimalx to the base 2 using the currentMathContext. - log2(BigDecimal, MathContext) - Static method in class ch.obermuhlner.math.big.BigDecimalMath
-
Calculates the logarithm of
BigDecimalx to the base 2. - 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
BigDecimalwritten as mantissa * 10exponent. - mathContext - Variable in class ch.obermuhlner.math.big.DefaultBigDecimalMath.LocalMathContext
- max(BigFloat, BigFloat) - Static method in class ch.obermuhlner.math.big.BigFloat
-
Returns the the maximum of two
BigFloatvalues. - max(BigFloat, BigFloat...) - Static method in class ch.obermuhlner.math.big.BigFloat
-
Returns the the maximum of n
BigFloatvalues. - 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
BigFloatvalues. - min(BigFloat, BigFloat...) - Static method in class ch.obermuhlner.math.big.BigFloat
-
Returns the the minimum of n
BigFloatvalues. - min(BigRational...) - Static method in class ch.obermuhlner.math.big.BigRational
-
Returns the smallest of the specified rational numbers.
- multiply(double) - Method in class ch.obermuhlner.math.big.BigComplex
-
Calculates the multiplication of the given real
doublevalue with this complex number. - multiply(double) - Method in class ch.obermuhlner.math.big.BigFloat
-
Returns the
BigFloatthat isthis * x. - multiply(int) - Method in class ch.obermuhlner.math.big.BigFloat
-
Returns the
BigFloatthat 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
BigFloatthat 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
BigFloatthat isthis * x. - 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
BigDecimalvalue with this complex number. - multiply(BigDecimal) - Method in class ch.obermuhlner.math.big.BigFloat
-
Returns the
BigFloatthat isthis * x. - 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
BigDecimalvalue 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
- 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 - biof 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
BigFloatthat is- this. - 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
O
- 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. - Overview - Section in class ch.obermuhlner.math.big.BigFloat
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.
- 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
BigComplexx to the power oflongy (xy). - pow(BigComplex, BigComplex, MathContext) - Static method in class ch.obermuhlner.math.big.BigComplexMath
-
Calculates
BigComplexx to the power ofBigComplexy (xy). - pow(BigComplex, BigDecimal, MathContext) - Static method in class ch.obermuhlner.math.big.BigComplexMath
-
Calculates
BigComplexx to the power ofBigDecimaly (xy). - pow(BigFloat) - Method in class ch.obermuhlner.math.big.BigFloat
- pow(BigFloat, BigFloat) - Static method in class ch.obermuhlner.math.big.BigFloat
-
Returns the
BigFloatthat 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
BigDecimalx to the power oflongy (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
BigDecimalx to the power ofBigDecimaly (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
-
PowerIteratorto calculate xn. - PowerNIterator(BigDecimal, MathContext) - Constructor for class ch.obermuhlner.math.big.internal.PowerNIterator
- PowerTwoNIterator - Class in ch.obermuhlner.math.big.internal
-
PowerIteratorto calculate x2*n. - PowerTwoNIterator(BigDecimal, MathContext) - Constructor for class ch.obermuhlner.math.big.internal.PowerTwoNIterator
- PowerTwoNMinusOneIterator - Class in ch.obermuhlner.math.big.internal
-
PowerIteratorto calculate x2*n-1. - PowerTwoNMinusOneIterator(BigDecimal, MathContext) - Constructor for class ch.obermuhlner.math.big.internal.PowerTwoNMinusOneIterator
- PowerTwoNPlusOneIterator - Class in ch.obermuhlner.math.big.internal
-
PowerIteratorto calculate x2*n+1. - PowerTwoNPlusOneIterator(BigDecimal, MathContext) - Constructor for class ch.obermuhlner.math.big.internal.PowerTwoNPlusOneIterator
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
BigDecimalpart of this complex number. - re() - Method in class ch.obermuhlner.math.big.BigComplex
-
Returns the real part of this complex number as
BigComplexnumber. - 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
BigDecimalusing 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(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
BigComplexn'th root ofBigComplexx (n√x). - root(BigComplex, BigDecimal, MathContext) - Static method in class ch.obermuhlner.math.big.BigComplexMath
-
Calculates the
BigDecimaln'th root ofBigComplexx (n√x). - root(BigFloat) - Method in class ch.obermuhlner.math.big.BigFloat
- root(BigFloat, BigFloat) - Static method in class ch.obermuhlner.math.big.BigFloat
-
Returns the
BigFloatthat 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
BigDecimalx using the currentMathContext. - root(BigDecimal, BigDecimal, MathContext) - Static method in class ch.obermuhlner.math.big.BigDecimalMath
-
Calculates the n'th root of
BigDecimalx. - round(BigDecimal) - Static method in class ch.obermuhlner.math.big.DefaultBigDecimalMath
-
Rounds the specified
BigDecimalto the precision of the currentMathContext. - round(BigDecimal, MathContext) - Static method in class ch.obermuhlner.math.big.BigDecimalMath
-
Rounds the specified
BigDecimalto 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
BigDecimalto the precision of the currentMathContextincluding trailing zeroes. - roundWithTrailingZeroes(BigDecimal, MathContext) - Static method in class ch.obermuhlner.math.big.BigDecimalMath
-
Rounds the specified
BigDecimalto the precision of the specifiedMathContextincluding trailing zeroes.
S
- 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
MathContextis reached. - SeriesCalculator() - Constructor for class ch.obermuhlner.math.big.internal.SeriesCalculator
-
Constructs a
SeriesCalculatorthat calculates single terms. - SeriesCalculator(boolean) - Constructor for class ch.obermuhlner.math.big.internal.SeriesCalculator
-
Constructs a
SeriesCalculatorwith control over whether the sum terms are calculated in pairs. - setDefaultMathContext(MathContext) - Static method in class ch.obermuhlner.math.big.DefaultBigDecimalMath
-
Sets the default
MathContextused if no otherMathContextis 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.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
BigComplexx in the complex domain. - sin(BigFloat) - Static method in class ch.obermuhlner.math.big.BigFloat
-
Returns the
BigFloatthat issin(x). - sin(BigDecimal) - Static method in class ch.obermuhlner.math.big.DefaultBigDecimalMath
-
Calculates the sine (sinus) of
BigDecimalx using the currentMathContext. - sin(BigDecimal, MathContext) - Static method in class ch.obermuhlner.math.big.BigDecimalMath
-
Calculates the sine (sinus) of
BigDecimalx. - SinCalculator - Class in ch.obermuhlner.math.big.internal
-
Calculates sinus using the Maclaurin series.
- sinh(BigFloat) - Static method in class ch.obermuhlner.math.big.BigFloat
-
Returns the
BigFloatthat issinh(x). - sinh(BigDecimal) - Static method in class ch.obermuhlner.math.big.DefaultBigDecimalMath
-
Calculates the hyperbolic sine of
BigDecimalx using the currentMathContext. - sinh(BigDecimal, MathContext) - Static method in class ch.obermuhlner.math.big.BigDecimalMath
-
Calculates the hyperbolic sine of
BigDecimalx. - SinhCalculator - Class in ch.obermuhlner.math.big.internal
-
Calculates sinus hyperbolicus using the Taylor series.
- sqrt(BigComplex, MathContext) - Static method in class ch.obermuhlner.math.big.BigComplexMath
-
Calculates the square root of
BigComplexx in the complex domain (√x). - sqrt(BigFloat) - Static method in class ch.obermuhlner.math.big.BigFloat
-
Returns the
BigFloatthat issqrt(x). - sqrt(BigDecimal) - Static method in class ch.obermuhlner.math.big.DefaultBigDecimalMath
-
Calculates the square root of
BigDecimalx using the currentMathContext. - sqrt(BigDecimal, MathContext) - Static method in class ch.obermuhlner.math.big.BigDecimalMath
-
Calculates the square root of
BigDecimalx. - 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
doublevalue from this complex number. - subtract(double) - Method in class ch.obermuhlner.math.big.BigFloat
-
Returns the
BigFloatthat isthis - x. - subtract(int) - Method in class ch.obermuhlner.math.big.BigFloat
-
Returns the
BigFloatthat 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
BigFloatthat 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
-
Returns the
BigFloatthat 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
BigDecimalvalue from this complex number. - subtract(BigDecimal) - Method in class ch.obermuhlner.math.big.BigFloat
-
Returns the
BigFloatthat isthis - x. - 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
BigDecimalvalue 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
BigComplexx in the complex domain. - tan(BigFloat) - Static method in class ch.obermuhlner.math.big.BigFloat
-
Returns the
BigFloatthat istan(x). - tan(BigDecimal) - Static method in class ch.obermuhlner.math.big.DefaultBigDecimalMath
-
Calculates the tangens of
BigDecimalx using the currentMathContext. - tan(BigDecimal, MathContext) - Static method in class ch.obermuhlner.math.big.BigDecimalMath
-
Calculates the tangens of
BigDecimalx. - tanh(BigFloat) - Static method in class ch.obermuhlner.math.big.BigFloat
-
Returns the
BigFloatthat istanh(x). - tanh(BigDecimal) - Static method in class ch.obermuhlner.math.big.DefaultBigDecimalMath
-
Calculates the hyperbolic tangens of
BigDecimalx using the currentMathContext. - tanh(BigDecimal, MathContext) - Static method in class ch.obermuhlner.math.big.BigDecimalMath
-
Calculates the hyperbolic tangens of
BigDecimalx. - TEN - Static variable in class ch.obermuhlner.math.big.BigRational
-
The value 10 as
BigRational. - toBigDecimal() - Method in class ch.obermuhlner.math.big.BigFloat
-
Returns
thisvalue as aBigDecimalvalue. - 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
BigDecimalfrom the specifiedStringrepresentation. - toBigDecimal(String, MathContext) - Static method in class ch.obermuhlner.math.big.BigDecimalMath
-
Creates a
BigDecimalfrom the specifiedStringrepresentation. - toBigDecimal(MathContext) - Method in class ch.obermuhlner.math.big.BigRational
-
Returns this rational number as a
BigDecimalwith the precision specified by theMathContext. - 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
-
Returns
thisvalue as adoublevalue. - 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
-
Returns
thisvalue as aintvalue. - 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
-
Returns
thisvalue as alongvalue. - 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
- toString() - Method in class ch.obermuhlner.math.big.BigRational
- TWO - Static variable in class ch.obermuhlner.math.big.BigRational
-
The value 2 as
BigRational. - type() - Method in class ch.obermuhlner.math.big.BigFloat
-
return special type of a value
U
- Usage - Section in class ch.obermuhlner.math.big.BigFloat
V
- 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
doublepart. - valueOf(double) - Method in class ch.obermuhlner.math.big.BigFloat.Context
-
Creates a
BigFloatvalue 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
doubleparts. - valueOf(int) - Method in class ch.obermuhlner.math.big.BigFloat.Context
-
Creates a
BigFloatvalue 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
BigFloatvalue 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
BigFloatvalue with this context. - valueOf(String) - Method in class ch.obermuhlner.math.big.BigFloat.Context
-
Creates a
BigFloatvalue with this context. - 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
BigDecimalpart. - valueOf(BigDecimal) - Method in class ch.obermuhlner.math.big.BigFloat.Context
-
Creates a
BigFloatvalue with this context. - valueOf(BigDecimal) - Static method in class ch.obermuhlner.math.big.BigRational
-
Creates a rational number of the specified
BigDecimalvalue. - valueOf(BigDecimal, BigDecimal) - Static method in class ch.obermuhlner.math.big.BigComplex
-
Returns a complex number with the specified real and imaginary
BigDecimalparts. - 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
BigIntegervalue. - 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
BigDecimalradius and angle using the specifiedMathContext.
W
- withLocalMathContext(int, Runnable) - Static method in class ch.obermuhlner.math.big.DefaultBigDecimalMath
-
Executes the given
Runnableusing the specified precision. - withLocalMathContext(int, RoundingMode, Runnable) - Static method in class ch.obermuhlner.math.big.DefaultBigDecimalMath
-
Executes the given
Runnableusing the specified precision andRoundingMode. - withLocalMathContext(MathContext, Runnable) - Static method in class ch.obermuhlner.math.big.DefaultBigDecimalMath
-
Executes the given
Runnableusing the specifiedMathContext. - withPrecision(int) - Method in class ch.obermuhlner.math.big.BigRational
-
Returns a rational number with approximatively
thisvalue and the specified precision. - withScale(int) - Method in class ch.obermuhlner.math.big.BigRational
-
Returns a rational number with approximatively
thisvalue and the specified scale.
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|Serialized Form