linalg.tests.test_blas

Module Contents

Classes

TestCBLAS1Simple()
TestFBLAS1Simple()
TestFBLAS2Simple()
TestFBLAS3Simple()
TestBLAS3Symm()
TestBLAS3Syrk()
TestBLAS3Syr2k()
TestSyHe() Quick and simple tests for (zc)-symm, syrk, syr2k.
TestTRMM() Quick and simple tests for dtrmm.

Functions

test_get_blas_funcs()
test_get_blas_funcs_alias()
_get_func(func,ps=”sdzc”) Just a helper: return a specified BLAS function w/typecode.
test_trsm()
test_get_blas_funcs()
test_get_blas_funcs_alias()
class TestCBLAS1Simple
test_axpy()
class TestFBLAS1Simple
test_axpy()
test_copy()
test_asum()
test_dot()
test_complex_dotu()
test_complex_dotc()
test_nrm2()
test_scal()
test_swap()
test_amax()
class TestFBLAS2Simple
test_gemv()
test_ger()
test_syr_her()
test_syr2()
test_her2()
test_gbmv()
test_sbmv_hbmv()
test_spmv_hpmv()
test_spr_hpr()
test_spr2_hpr2()
test_tbmv()
test_tbsv()
test_tpmv()
test_tpsv()
test_trmv()
test_trsv()
class TestFBLAS3Simple
test_gemm()
_get_func(func, ps="sdzc")

Just a helper: return a specified BLAS function w/typecode.

class TestBLAS3Symm
setup_method()
test_symm()
test_summ_wrong_side()
test_symm_wrong_uplo()

SYMM only considers the upper/lower part of A. Hence setting wrong value for lower (default is lower=0, meaning upper triangle) gives a wrong result.

class TestBLAS3Syrk
setup_method()
test_syrk()
test_syrk_wrong_c()
class TestBLAS3Syr2k
setup_method()
test_syr2k()
test_syr2k_wrong_c()
class TestSyHe

Quick and simple tests for (zc)-symm, syrk, syr2k.

setup_method()
test_symm_zc()
test_hemm_zc()
test_syrk_zr()
test_herk_zr()
test_syr2k_zr()
test_her2k_zr()
class TestTRMM

Quick and simple tests for dtrmm.

setup_method()
test_ab()
test_ab_lower()
test_b_overwrites()
test_trsm()