Package org.apfloat
Class BesselHelper
- java.lang.Object
-
- org.apfloat.BesselHelper
-
class BesselHelper extends java.lang.Object
Helper class for Bessel functions.- Since:
- 1.13.0
- Version:
- 1.14.0
-
-
Field Summary
Fields Modifier and Type Field Description private int
radix
private long
targetPrecision
private Apint
two
private long
workingPrecision
private Apcomplex
z
private Apcomplex
ν
-
Constructor Summary
Constructors Modifier Constructor Description private
BesselHelper(Apcomplex ν, Apcomplex z)
Helper for Bessel functions.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private Apcomplex
besselFirstKind(Apcomplex ν, boolean negate)
private Apcomplex
besselI()
private Apcomplex
besselI(Apcomplex ν)
static Apcomplex
besselI(Apcomplex ν, Apcomplex z)
private Apcomplex
besselJ()
private Apcomplex
besselJ(Apcomplex ν)
static Apcomplex
besselJ(Apcomplex ν, Apcomplex z)
private Apcomplex
besselK()
static Apcomplex
besselK(Apcomplex ν, Apcomplex z)
private Apcomplex
besselSecondKind(java.util.function.BiFunction<Apcomplex,Apcomplex,Apcomplex> f)
private Apcomplex
besselY()
static Apcomplex
besselY(Apcomplex ν, Apcomplex z)
private Apcomplex
ensurePrecision(Apcomplex z)
private Apfloat
offset(long scale)
-
-
-
Method Detail
-
besselJ
public static Apcomplex besselJ(Apcomplex ν, Apcomplex z) throws java.lang.ArithmeticException, ApfloatRuntimeException
- Throws:
java.lang.ArithmeticException
ApfloatRuntimeException
-
besselI
public static Apcomplex besselI(Apcomplex ν, Apcomplex z) throws java.lang.ArithmeticException, ApfloatRuntimeException
- Throws:
java.lang.ArithmeticException
ApfloatRuntimeException
-
besselY
public static Apcomplex besselY(Apcomplex ν, Apcomplex z) throws java.lang.ArithmeticException, ApfloatRuntimeException
- Throws:
java.lang.ArithmeticException
ApfloatRuntimeException
-
besselK
public static Apcomplex besselK(Apcomplex ν, Apcomplex z) throws java.lang.ArithmeticException, ApfloatRuntimeException
- Throws:
java.lang.ArithmeticException
ApfloatRuntimeException
-
besselJ
private Apcomplex besselJ() throws java.lang.ArithmeticException, ApfloatRuntimeException
- Throws:
java.lang.ArithmeticException
ApfloatRuntimeException
-
besselI
private Apcomplex besselI() throws java.lang.ArithmeticException, ApfloatRuntimeException
- Throws:
java.lang.ArithmeticException
ApfloatRuntimeException
-
besselJ
private Apcomplex besselJ(Apcomplex ν) throws java.lang.ArithmeticException, ApfloatRuntimeException
- Throws:
java.lang.ArithmeticException
ApfloatRuntimeException
-
besselI
private Apcomplex besselI(Apcomplex ν) throws java.lang.ArithmeticException, ApfloatRuntimeException
- Throws:
java.lang.ArithmeticException
ApfloatRuntimeException
-
besselFirstKind
private Apcomplex besselFirstKind(Apcomplex ν, boolean negate) throws java.lang.ArithmeticException, ApfloatRuntimeException
- Throws:
java.lang.ArithmeticException
ApfloatRuntimeException
-
besselY
private Apcomplex besselY() throws java.lang.ArithmeticException, ApfloatRuntimeException
- Throws:
java.lang.ArithmeticException
ApfloatRuntimeException
-
besselK
private Apcomplex besselK() throws java.lang.ArithmeticException, ApfloatRuntimeException
- Throws:
java.lang.ArithmeticException
ApfloatRuntimeException
-
besselSecondKind
private Apcomplex besselSecondKind(java.util.function.BiFunction<Apcomplex,Apcomplex,Apcomplex> f) throws java.lang.ArithmeticException, ApfloatRuntimeException
- Throws:
java.lang.ArithmeticException
ApfloatRuntimeException
-
offset
private Apfloat offset(long scale)
-
-