dubfi.tests.test_linalg_csc¶
Test CSC sparse linear algebra routines.
Added in version 0.1.0: (initial release)
Functions¶
|
|
|
Test |
Test |
|
|
Wrap tests for |
|
Test basic MPI vector functionality. |
|
Test basic MPI-parallelized linear algebra. |
|
Test |
|
Test agreement of |
|
Wrap tests of agreement of |
Module Contents¶
- dubfi.tests.test_linalg_csc.test_csc_trace(n=20, size=500)¶
Test
dubfi.linalg.csc_sparse._csc_trace().- Parameters:
n (int)
size (int)
- Return type:
None
- dubfi.tests.test_linalg_csc.test_tr_asolver_bcscr(n=10, size=100)¶
Test
dubfi.linalg.csc_sparse.tr_asolver_bcsc()anddubfi.linalg.csc_sparse.tr_asolver_bcsr().- Parameters:
n (int)
size (int)
- Return type:
None
- dubfi.tests.test_linalg_csc.test_csc_rapply()¶
Test
dubfi.linalg.csc_sparse._csc_rapply()anddubfi.linalg.csc_sparse._csc_apply().- Return type:
None
- dubfi.tests.test_linalg_csc.csc_rapply_tester(csc_apply, csc_rapply, n=10, size=100)¶
Wrap tests for
dubfi.linalg.csc_sparse._csc_rapply()anddubfi.linalg.csc_sparse._csc_apply().- Parameters:
n (int)
size (int)
- Return type:
None
- dubfi.tests.test_linalg_csc.test_vector(n=100)¶
Test basic MPI vector functionality.
- Parameters:
n (int)
- Return type:
None
- dubfi.tests.test_linalg_csc.test_matrix(n=200)¶
Test basic MPI-parallelized linear algebra.
- Parameters:
n (int)
- Return type:
None
- dubfi.tests.test_linalg_csc.test_csc_csr_trace_prod(n=500, fill=100)¶
Test
_csc_csr_trace_prod().
- dubfi.tests.test_linalg_csc.test_rsparse_derivatives(**kwargs)¶
Test agreement of
_r_csc_from_ens(),_rgrad_csc_from_ens()and_rhess_csc_from_ens().- Return type:
None
- dubfi.tests.test_linalg_csc.rsparse_derivatives_tester(r_csc, rgrad_csc, rhess_csc, n=47, k=17, m=13, **kwargs)¶
Wrap tests of agreement of
_r_csc_from_ens(),_rgrad_csc_from_ens()and_rhess_csc_from_ens().- Return type:
None