Skip to content

Commit fe6421c

Browse files
committed
Added special functions for some Bessel functions
1 parent ddbcb0c commit fe6421c

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

ToPython.wl

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,14 @@ PythonForm[SphericalHarmonicY[l_, m_, a_, b_]] := format[
7777
m, l, b, a];
7878
PythonForm[Gamma[a_]] := format["special.gamma(``)", a];
7979
PythonForm[Gamma[a_, b_]] := format["special.gamma(`1`) * special.gammaincc(`1`, `2`)", a, b];
80+
PythonForm[BesselI[0, b_]] := format["special.i0(``)", b];
81+
PythonForm[BesselJ[0, b_]] := format["special.j0(``)", b];
82+
PythonForm[BesselK[0, b_]] := format["special.k0(``)", b];
83+
PythonForm[BesselY[0, b_]] := format["special.y0(``)", b];
84+
PythonForm[BesselI[1, b_]] := format["special.i1(``)", b];
85+
PythonForm[BesselJ[1, b_]] := format["special.j1(``)", b];
86+
PythonForm[BesselK[1, b_]] := format["special.k1(``)", b];
87+
PythonForm[BesselY[1, b_]] := format["special.y1\(``)", b];
8088
PythonForm[BesselI[a_, b_]] := format["special.iv(``, ``)", a, b];
8189
PythonForm[BesselJ[a_, b_]] := format["special.jv(``, ``)", a, b];
8290
PythonForm[BesselK[a_, b_]] := format["special.kn(``, ``)", a, b];

0 commit comments

Comments
 (0)