Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
File Manager
/
admin
/
installer
/
css
/
sass
/
sym404
/
root
/
usr
/
local
/
lib64
/
python3.6
/
site-packages
/
scipy
/
linalg
/
tests
:
test_cython_lapack.py
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
from numpy.testing import assert_allclose from scipy.linalg import cython_lapack as cython_lapack from scipy.linalg import lapack class TestLamch(object): def test_slamch(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_slamch(c), lapack.slamch(c)) 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))