tests Package¶
tests
Module¶
-
krypy.tests.test_linsys.
check_solver
(sol, solver, ls, params)¶
-
krypy.tests.test_linsys.
dictpick
(d)¶
-
krypy.tests.test_linsys.
dictproduct
(d)¶ enhance itertools product to process values of dicts
- example:
- d = {‘a’:[1,2],’b’:[3,4]} then list(dictproduct(d)) == [{‘a’:1,’b’:3}, {‘a’:1,’b’:4}, {‘a’:2,’b’:3}, {‘a’:2,’b’:4}]
-
krypy.tests.test_linsys.
linear_systems_generator
(A, **ls_kwargs)¶
-
krypy.tests.test_linsys.
run_solver
(solver, ls, params)¶
-
krypy.tests.test_linsys.
solver_params_generator
(solver, ls)¶
-
krypy.tests.test_linsys.
test_LinearSystem
()¶
-
krypy.tests.test_linsys.
test_solver
()¶
-
krypy.tests.test_utils.
assert_arnoldi
(A, v, V, H, P, maxiter, ortho, M, ip_B, lanczos=False, arnoldi_const=1, ortho_const=1, proj_const=10, An=None)¶
-
krypy.tests.test_utils.
get_ip_Bs
()¶
-
krypy.tests.test_utils.
get_matrices
(spd=True, hpd=True, symm_indef=True, herm_indef=True, nonsymm=True, comp_nonsymm=True)¶
-
krypy.tests.test_utils.
get_matrix_comp_nonsymm
()¶
-
krypy.tests.test_utils.
get_matrix_herm_indef
()¶
-
krypy.tests.test_utils.
get_matrix_hpd
()¶
-
krypy.tests.test_utils.
get_matrix_nonsymm
()¶
-
krypy.tests.test_utils.
get_matrix_spd
()¶
-
krypy.tests.test_utils.
get_matrix_symm_indef
()¶
-
krypy.tests.test_utils.
get_operators
(A)¶
-
krypy.tests.test_utils.
get_vecs
(v)¶
-
krypy.tests.test_utils.
run_NormalizedRootsPolynomial
(roots)¶
-
krypy.tests.test_utils.
run_angles
(F, G, ip_B, compute_vectors)¶
-
krypy.tests.test_utils.
run_arnoldi
(A, v, maxiter, ortho, M, ip_B, An)¶
-
krypy.tests.test_utils.
run_givens
(x)¶
-
krypy.tests.test_utils.
run_hegedus
(A, b, x0, M, Ml, ip_B)¶
-
krypy.tests.test_utils.
run_house
(x)¶
-
krypy.tests.test_utils.
run_projection
(X, Y, ip_B, iterations)¶
-
krypy.tests.test_utils.
run_qr
(X, ip_B, reorthos)¶
-
krypy.tests.test_utils.
run_ritz
(A, v, maxiter, ip_B, Aevals, An, with_V, hermitian, type)¶
-
krypy.tests.test_utils.
test_BoundCG
()¶
-
krypy.tests.test_utils.
test_BoundMinres
()¶
-
krypy.tests.test_utils.
test_Interval
()¶
-
krypy.tests.test_utils.
test_NormalizedRootsPolynomial
()¶
-
krypy.tests.test_utils.
test_angles
()¶
-
krypy.tests.test_utils.
test_arnoldi
()¶
-
krypy.tests.test_utils.
test_gap
()¶
-
krypy.tests.test_utils.
test_givens
()¶
-
krypy.tests.test_utils.
test_hegedus
()¶
-
krypy.tests.test_utils.
test_house
()¶
-
krypy.tests.test_utils.
test_projection
()¶
-
krypy.tests.test_utils.
test_qr
()¶
-
krypy.tests.test_utils.
test_ritz
()¶