Exemplo n.º 1
0
 def test_arccosh_n1(self):
     x = 2.345
     a = nthderiv.arccosh(x, n=1)
     b = 1 / np.sqrt(x * x - 1)
     assert_allclose(a, b)
Exemplo n.º 2
0
 def test_arccosh_n1(self):
     x = 2.345
     a = nthderiv.arccosh(x, n=1)
     b = 1 / np.sqrt(x*x - 1)
     assert_allclose(a, b)
Exemplo n.º 3
0
 def test_arccosh_n0(self):
     x = 2.345
     a = nthderiv.arccosh(x, n=0)
     b = np.arccosh(x)
     assert_allclose(a, b)
Exemplo n.º 4
0
 def test_arccosh_n0(self):
     x = 2.345
     a = nthderiv.arccosh(x, n=0)
     b = np.arccosh(x)
     assert_allclose(a, b)