コード例 #1
0
ファイル: test_mpmath.py プロジェクト: 7islands/scipy
 def test_chebyt(self):
     assert_mpmath_equal(sc.eval_chebyt,
                         _exception_to_nan(lambda n, x: mpmath.chebyt(n, x, **HYPERKW)),
                         [Arg(), Arg()],
                         n=2000)
コード例 #2
0
 def test_chebyt_int(self):
     assert_mpmath_equal(
         lambda n, x: sc.eval_chebyt(int(n), x),
         _exception_to_nan(lambda n, x: mpmath.chebyt(n, x, **HYPERKW)),
         [IntArg(), Arg()],
         n=2000)