本文整理汇总了Python中numpy.linalg.lapack_lite.__file__方法的典型用法代码示例。如果您正苦于以下问题:Python lapack_lite.__file__方法的具体用法?Python lapack_lite.__file__怎么用?Python lapack_lite.__file__使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类numpy.linalg.lapack_lite
的用法示例。
在下文中一共展示了lapack_lite.__file__方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: test_lapack
# 需要导入模块: from numpy.linalg import lapack_lite [as 别名]
# 或者: from numpy.linalg.lapack_lite import __file__ [as 别名]
def test_lapack(self):
f = FindDependenciesLdd()
deps = f.grep_dependencies(lapack_lite.__file__,
[b'libg2c', b'libgfortran'])
assert_(len(deps) <= 1,
"""Both g77 and gfortran runtimes linked in lapack_lite ! This is likely to
cause random crashes and wrong results. See numpy INSTALL.txt for more
information.""")
示例2: test_lapack
# 需要导入模块: from numpy.linalg import lapack_lite [as 别名]
# 或者: from numpy.linalg.lapack_lite import __file__ [as 别名]
def test_lapack(self):
f = FindDependenciesLdd()
deps = f.grep_dependencies(lapack_lite.__file__,
asbytes_nested(['libg2c', 'libgfortran']))
self.assertFalse(len(deps) > 1,
"""Both g77 and gfortran runtimes linked in lapack_lite ! This is likely to
cause random crashes and wrong results. See numpy INSTALL.txt for more
information.""")
示例3: test_lapack
# 需要导入模块: from numpy.linalg import lapack_lite [as 别名]
# 或者: from numpy.linalg.lapack_lite import __file__ [as 别名]
def test_lapack(self):
f = FindDependenciesLdd()
deps = f.grep_dependencies(lapack_lite.__file__,
asbytes_nested(['libg2c', 'libgfortran']))
self.assertFalse(len(deps) > 1,
"""Both g77 and gfortran runtimes linked in lapack_lite ! This is likely to
cause random crashes and wrong results. See numpy INSTALL.txt for more
information.""")
示例4: test_lapack
# 需要导入模块: from numpy.linalg import lapack_lite [as 别名]
# 或者: from numpy.linalg.lapack_lite import __file__ [as 别名]
def test_lapack(self):
f = FindDependenciesLdd()
deps = f.grep_dependencies(lapack_lite.__file__,
[b'libg2c', b'libgfortran'])
self.assertFalse(len(deps) > 1,
"""Both g77 and gfortran runtimes linked in lapack_lite ! This is likely to
cause random crashes and wrong results. See numpy INSTALL.txt for more
information.""")