예제 #1
0
 def test_chebyu(self):
     assert_mpmath_equal(
         sc.eval_chebyu,
         _exception_to_nan(lambda n, x: mpmath.chebyu(n, x, **HYPERKW)),
         [Arg(), Arg()],
         n=2000)
예제 #2
0
 def test_chebyu(self):
     assert_mpmath_equal(sc.eval_chebyu,
                         _exception_to_nan(lambda n, x: mpmath.chebyu(n, x, **HYPERKW)),
                         [Arg(), Arg()], n=2000)
 def func(channel):
     channell = []
     for i in range(0,len(channel)):
         channell.append(float(mpmath.chebyu(degree,channel[i])))
     return numpy.asarray(channell)