Exemplo n.º 1
0
 def test_dlamch(self):
     for c in [b'e', b's', b'b', b'p', b'n', b'r', b'm', b'u', b'l', b'o']:
         assert_allclose(cython_lapack._test_dlamch(c),
                         lapack.dlamch(c))
Exemplo n.º 2
0
 def test_dlamch(self):
     for c in [b'e', b's', b'b', b'p', b'n', b'r', b'm', b'u', b'l', b'o']:
         assert_allclose(cython_lapack._test_dlamch(c), lapack.dlamch(c))
Exemplo n.º 3
0
def test_dlamch():
    from scipy.linalg import lapack

    lapack.dlamch("Epsilon-Machine")
Exemplo n.º 4
0
 def test_dlamch(self):
     for c in b'esbpnrmulo':
         assert_allclose(cython_lapack._test_dlamch(c),
                         lapack.dlamch(c))