Package org.apfloat.calc
Class ApfloatCalculatorImpl.ApfloatFunctions
- java.lang.Object
-
- org.apfloat.calc.ApfloatCalculatorImpl.ApcomplexFunctions
-
- org.apfloat.calc.ApfloatCalculatorImpl.ApfloatFunctions
-
- All Implemented Interfaces:
FunctionCalculatorImpl.Functions
- Direct Known Subclasses:
ApfloatCalculatorImpl.AprationalFunctions
- Enclosing class:
- ApfloatCalculatorImpl
private class ApfloatCalculatorImpl.ApfloatFunctions extends ApfloatCalculatorImpl.ApcomplexFunctions
-
-
Constructor Summary
Constructors Modifier Constructor Description privateApfloatFunctions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Numberatan2(java.lang.Number x, java.lang.Number y)java.lang.Numberceil(java.lang.Number x)java.lang.NumbercopySign(java.lang.Number x, java.lang.Number y)java.lang.Numberfloor(java.lang.Number x)java.lang.Numberfmod(java.lang.Number x, java.lang.Number y)java.lang.Numberfrac(java.lang.Number x)java.lang.Numberhypot(java.lang.Number x, java.lang.Number y)java.lang.NumberinverseErf(java.lang.Number x)java.lang.NumberinverseErfc(java.lang.Number x)java.lang.Numbermax(java.lang.Number x, java.lang.Number y)java.lang.Numbermin(java.lang.Number x, java.lang.Number y)java.lang.Numbermod(java.lang.Number x, java.lang.Number y)java.lang.NumbernextAfter(java.lang.Number x, java.lang.Number y)java.lang.NumbernextDown(java.lang.Number x)java.lang.NumbernextUp(java.lang.Number x)java.lang.NumberroundToInteger(java.lang.Number x)java.lang.NumberroundToMultiple(java.lang.Number x, java.lang.Number y)protected java.lang.NumberroundToPlaces(java.lang.Number x, long precision)java.lang.NumberroundToPlaces(java.lang.Number x, java.lang.Number y)protected java.lang.NumberroundToPrecision(java.lang.Number x, long precision)java.lang.NumberroundToPrecision(java.lang.Number x, java.lang.Number y)java.lang.NumbertoDegrees(java.lang.Number x)java.lang.NumbertoRadians(java.lang.Number x)java.lang.Numbertruncate(java.lang.Number x)-
Methods inherited from class org.apfloat.calc.ApfloatCalculatorImpl.ApcomplexFunctions
abs, acos, acosh, add, agm, airyAi, airyAiPrime, airyBi, airyBiPrime, arg, asin, asinh, atan, atanh, bernoulli, bernoulliB, besselI, besselJ, besselK, besselY, beta, beta, beta, binomial, catalan, cbrt, chebyshevT, chebyshevU, conj, cos, cosh, coshIntegral, cosIntegral, digamma, divide, doubleFactorial, e, ellipticE, ellipticK, erf, erfc, erfi, euler, eulerE, exp, expIntegralE, expIntegralEi, factorial, fibonacci, fresnelC, fresnelS, gamma, gamma, gamma, gcd, gegenbauerC, gegenbauerC, glaisher, harmonicNumber, harmonicNumber, hermiteH, hypergeometric0F1, hypergeometric0F1Regularized, hypergeometric1F1, hypergeometric1F1Regularized, hypergeometric2F1, hypergeometric2F1Regularized, hypergeometricU, imag, inverseRoot, inverseRoot, inverseRoot, inverseRoot, isLong, jacobiP, khinchin, laguerreL, laguerreL, lcm, legendreP, legendreP, legendreQ, legendreQ, log, log, logGamma, logIntegral, logisticSigmoid, multiply, negate, pi, pochhammer, polygamma, polylog, pow, pow, precision, precision, random, randomGaussian, real, root, root, root, root, round, scale, scale, sin, sinc, sinh, sinhIntegral, sinIntegral, sphericalHarmonicY, sqrt, subtract, tan, tanh, ulp, w, w, zeta, zeta
-
-
-
-
Method Detail
-
mod
public java.lang.Number mod(java.lang.Number x, java.lang.Number y)- Specified by:
modin interfaceFunctionCalculatorImpl.Functions- Overrides:
modin classApfloatCalculatorImpl.ApcomplexFunctions
-
ceil
public java.lang.Number ceil(java.lang.Number x)
- Specified by:
ceilin interfaceFunctionCalculatorImpl.Functions- Overrides:
ceilin classApfloatCalculatorImpl.ApcomplexFunctions
-
floor
public java.lang.Number floor(java.lang.Number x)
- Specified by:
floorin interfaceFunctionCalculatorImpl.Functions- Overrides:
floorin classApfloatCalculatorImpl.ApcomplexFunctions
-
frac
public java.lang.Number frac(java.lang.Number x)
- Specified by:
fracin interfaceFunctionCalculatorImpl.Functions- Overrides:
fracin classApfloatCalculatorImpl.ApcomplexFunctions
-
inverseErf
public java.lang.Number inverseErf(java.lang.Number x)
- Specified by:
inverseErfin interfaceFunctionCalculatorImpl.Functions- Overrides:
inverseErfin classApfloatCalculatorImpl.ApcomplexFunctions
-
inverseErfc
public java.lang.Number inverseErfc(java.lang.Number x)
- Specified by:
inverseErfcin interfaceFunctionCalculatorImpl.Functions- Overrides:
inverseErfcin classApfloatCalculatorImpl.ApcomplexFunctions
-
max
public java.lang.Number max(java.lang.Number x, java.lang.Number y)- Specified by:
maxin interfaceFunctionCalculatorImpl.Functions- Overrides:
maxin classApfloatCalculatorImpl.ApcomplexFunctions
-
min
public java.lang.Number min(java.lang.Number x, java.lang.Number y)- Specified by:
minin interfaceFunctionCalculatorImpl.Functions- Overrides:
minin classApfloatCalculatorImpl.ApcomplexFunctions
-
nextAfter
public java.lang.Number nextAfter(java.lang.Number x, java.lang.Number y)- Specified by:
nextAfterin interfaceFunctionCalculatorImpl.Functions- Overrides:
nextAfterin classApfloatCalculatorImpl.ApcomplexFunctions
-
nextDown
public java.lang.Number nextDown(java.lang.Number x)
- Specified by:
nextDownin interfaceFunctionCalculatorImpl.Functions- Overrides:
nextDownin classApfloatCalculatorImpl.ApcomplexFunctions
-
nextUp
public java.lang.Number nextUp(java.lang.Number x)
- Specified by:
nextUpin interfaceFunctionCalculatorImpl.Functions- Overrides:
nextUpin classApfloatCalculatorImpl.ApcomplexFunctions
-
truncate
public java.lang.Number truncate(java.lang.Number x)
- Specified by:
truncatein interfaceFunctionCalculatorImpl.Functions- Overrides:
truncatein classApfloatCalculatorImpl.ApcomplexFunctions
-
toDegrees
public java.lang.Number toDegrees(java.lang.Number x)
- Specified by:
toDegreesin interfaceFunctionCalculatorImpl.Functions- Overrides:
toDegreesin classApfloatCalculatorImpl.ApcomplexFunctions
-
toRadians
public java.lang.Number toRadians(java.lang.Number x)
- Specified by:
toRadiansin interfaceFunctionCalculatorImpl.Functions- Overrides:
toRadiansin classApfloatCalculatorImpl.ApcomplexFunctions
-
atan2
public java.lang.Number atan2(java.lang.Number x, java.lang.Number y)- Specified by:
atan2in interfaceFunctionCalculatorImpl.Functions- Overrides:
atan2in classApfloatCalculatorImpl.ApcomplexFunctions
-
copySign
public java.lang.Number copySign(java.lang.Number x, java.lang.Number y)- Specified by:
copySignin interfaceFunctionCalculatorImpl.Functions- Overrides:
copySignin classApfloatCalculatorImpl.ApcomplexFunctions
-
fmod
public java.lang.Number fmod(java.lang.Number x, java.lang.Number y)- Specified by:
fmodin interfaceFunctionCalculatorImpl.Functions- Overrides:
fmodin classApfloatCalculatorImpl.ApcomplexFunctions
-
hypot
public java.lang.Number hypot(java.lang.Number x, java.lang.Number y)- Specified by:
hypotin interfaceFunctionCalculatorImpl.Functions- Overrides:
hypotin classApfloatCalculatorImpl.ApcomplexFunctions
-
roundToPrecision
public java.lang.Number roundToPrecision(java.lang.Number x, java.lang.Number y)- Specified by:
roundToPrecisionin interfaceFunctionCalculatorImpl.Functions- Overrides:
roundToPrecisionin classApfloatCalculatorImpl.ApcomplexFunctions
-
roundToPrecision
protected java.lang.Number roundToPrecision(java.lang.Number x, long precision)
-
roundToInteger
public java.lang.Number roundToInteger(java.lang.Number x)
- Specified by:
roundToIntegerin interfaceFunctionCalculatorImpl.Functions- Overrides:
roundToIntegerin classApfloatCalculatorImpl.ApcomplexFunctions
-
roundToPlaces
public java.lang.Number roundToPlaces(java.lang.Number x, java.lang.Number y)- Specified by:
roundToPlacesin interfaceFunctionCalculatorImpl.Functions- Overrides:
roundToPlacesin classApfloatCalculatorImpl.ApcomplexFunctions
-
roundToPlaces
protected java.lang.Number roundToPlaces(java.lang.Number x, long precision)
-
roundToMultiple
public java.lang.Number roundToMultiple(java.lang.Number x, java.lang.Number y)- Specified by:
roundToMultiplein interfaceFunctionCalculatorImpl.Functions- Overrides:
roundToMultiplein classApfloatCalculatorImpl.ApcomplexFunctions
-
-