A test class for the different kinds of solvers.
More...
|
|
| my_rank |
| |
|
| iterative_solver_parameters |
| |
|
| fixed_solver_parameters |
| |
|
| CheckMat |
| |
|
|
string | input_file = scratch_dir + "/input.mtx" |
| |
|
string | input_file2 = scratch_dir + "/input2.mtx" |
| |
|
int | CheckMat = 0 |
| |
|
int | my_rank = 0 |
| |
|
int | matrix_dimension = 32 |
| |
A test class for the different kinds of solvers.
◆ a_test_cgsolve()
| def UnitTests.testSolvers.TestSolvers.a_test_cgsolve |
( |
|
self | ) |
|
Test our ability to solve general matrix equations.
- Parameters
-
◆ setUp()
| def UnitTests.testSolvers.TestSolvers.setUp |
( |
|
self | ) |
|
set up an individual test
- Parameters
-
◆ setUpClass()
| def UnitTests.testSolvers.TestSolvers.setUpClass |
( |
|
self | ) |
|
set up all of the tests
- Parameters
-
◆ test_chebyshevfunction()
| def UnitTests.testSolvers.TestSolvers.test_chebyshevfunction |
( |
|
self | ) |
|
Test our ability to compute using Chebyshev polynomials.
- Parameters
-
◆ test_cosfunction()
| def UnitTests.testSolvers.TestSolvers.test_cosfunction |
( |
|
self | ) |
|
Test our ability to compute the matrix cosine.
- Parameters
-
◆ test_exponentialfunction()
| def UnitTests.testSolvers.TestSolvers.test_exponentialfunction |
( |
|
self | ) |
|
Test our ability to compute the matrix exponential.
- Parameters
-
◆ test_exponentialround()
| def UnitTests.testSolvers.TestSolvers.test_exponentialround |
( |
|
self | ) |
|
Test our ability to compute the matrix exponential using a round trip.
- Parameters
-
◆ test_hornerfunction()
| def UnitTests.testSolvers.TestSolvers.test_hornerfunction |
( |
|
self | ) |
|
Test our ability to compute a matrix polynomial using horner's method.
- Parameters
-
◆ test_inverseroot()
| def UnitTests.testSolvers.TestSolvers.test_inverseroot |
( |
|
self | ) |
|
Test our ability to compute general matrix inverse root.
- Parameters
-
◆ test_inversesquareroot()
| def UnitTests.testSolvers.TestSolvers.test_inversesquareroot |
( |
|
self | ) |
|
Test our ability to compute the inverse square root of matrices.
- Parameters
-
◆ test_invert()
| def UnitTests.testSolvers.TestSolvers.test_invert |
( |
|
self | ) |
|
Test our ability to invert matrices.
- Parameters
-
◆ test_logarithmfunction()
| def UnitTests.testSolvers.TestSolvers.test_logarithmfunction |
( |
|
self | ) |
|
Test our ability to compute the matrix logarithm.
- Parameters
-
◆ test_patersonstockmeyerfunction()
| def UnitTests.testSolvers.TestSolvers.test_patersonstockmeyerfunction |
( |
|
self | ) |
|
Test our ability to compute a matrix polynomial using the paterson stockmeyer method.
- Parameters
-
◆ test_powermethod()
| def UnitTests.testSolvers.TestSolvers.test_powermethod |
( |
|
self | ) |
|
Test our ability to compute eigenvalues with the power method.
- Parameters
-
◆ test_recursivechebyshevfunction()
| def UnitTests.testSolvers.TestSolvers.test_recursivechebyshevfunction |
( |
|
self | ) |
|
Test our ability to compute using Chebyshev polynomials recursively.
- Parameters
-
◆ test_root()
| def UnitTests.testSolvers.TestSolvers.test_root |
( |
|
self | ) |
|
Test our ability to compute general matrix root.
- Parameters
-
◆ test_signfunction()
| def UnitTests.testSolvers.TestSolvers.test_signfunction |
( |
|
self | ) |
|
Test our ability to compute the matrix sign function.
- Parameters
-
◆ test_sinfunction()
| def UnitTests.testSolvers.TestSolvers.test_sinfunction |
( |
|
self | ) |
|
Test our ability to compute the matrix sine.
- Parameters
-
◆ test_squareroot()
| def UnitTests.testSolvers.TestSolvers.test_squareroot |
( |
|
self | ) |
|
Test our ability to compute the square root of matrices.
- Parameters
-
The documentation for this class was generated from the following file:
- /Users/dawson/Documents/SparseMatrix/NTPoly/UnitTests/testSolvers.py