Example #1
0
 def test_hankel5(self):
     s = np.array([0.5, 1, 1.6])
     order = 3
     args = (1.2, order)
     shanks_ind = -5
     assert_allclose(
         vhankel_transform(hankel5, s, args, order=order, shanks_ind=shanks_ind), hankel5_(s, *args), atol=1e-8
     )
Example #2
0
 def test_hankel5(self):
     s = np.array([0.5, 1, 1.6])
     order=3
     args=(1.2, order)
     shanks_ind=-5
     assert_allclose(vhankel_transform(hankel5, s, args, order=order,
                                       shanks_ind=shanks_ind),
                     hankel5_(s, *args), atol=1e-8)