NTPoly
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
UnitTests.testSolvers.TestSolvers Class Reference

A test class for the different kinds of solvers. More...

Inheritance diagram for UnitTests.testSolvers.TestSolvers:

Public Member Functions

def setUpClass (self)
 set up all of the tests More...
 
def setUp (self)
 set up an individual test More...
 
def check_result (self)
 
def test_invert (self)
 Test our ability to invert matrices. More...
 
def test_inversesquareroot (self)
 Test our ability to compute the inverse square root of matrices. More...
 
def test_squareroot (self)
 Test our ability to compute the square root of matrices. More...
 
def test_inverseroot (self)
 Test our ability to compute general matrix inverse root. More...
 
def test_root (self)
 Test our ability to compute general matrix root. More...
 
def test_signfunction (self)
 Test our ability to compute the matrix sign function. More...
 
def test_exponentialfunction (self)
 Test our ability to compute the matrix exponential. More...
 
def test_logarithmfunction (self)
 Test our ability to compute the matrix logarithm. More...
 
def test_exponentialround (self)
 Test our ability to compute the matrix exponential using a round trip. More...
 
def test_sinfunction (self)
 Test our ability to compute the matrix sine. More...
 
def test_cosfunction (self)
 Test our ability to compute the matrix cosine. More...
 
def test_hornerfunction (self)
 Test our ability to compute a matrix polynomial using horner's method. More...
 
def test_patersonstockmeyerfunction (self)
 Test our ability to compute a matrix polynomial using the paterson stockmeyer method. More...
 
def test_chebyshevfunction (self)
 Test our ability to compute using Chebyshev polynomials. More...
 
def test_recursivechebyshevfunction (self)
 Test our ability to compute using Chebyshev polynomials recursively. More...
 
def a_test_cgsolve (self)
 Test our ability to solve general matrix equations. More...
 
def test_powermethod (self)
 Test our ability to compute eigenvalues with the power method. More...
 

Public Attributes

 my_rank
 
 iterative_solver_parameters
 
 fixed_solver_parameters
 
 CheckMat
 

Static Public Attributes

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
 

Detailed Description

A test class for the different kinds of solvers.

Member Function Documentation

◆ a_test_cgsolve()

def UnitTests.testSolvers.TestSolvers.a_test_cgsolve (   self)

Test our ability to solve general matrix equations.

Parameters
[in]selfpointer.

◆ setUp()

def UnitTests.testSolvers.TestSolvers.setUp (   self)

set up an individual test

Parameters
[in]selfpointer

◆ setUpClass()

def UnitTests.testSolvers.TestSolvers.setUpClass (   self)

set up all of the tests

Parameters
[in]selfpointer.

◆ test_chebyshevfunction()

def UnitTests.testSolvers.TestSolvers.test_chebyshevfunction (   self)

Test our ability to compute using Chebyshev polynomials.

Parameters
[in]selfpointer.

◆ test_cosfunction()

def UnitTests.testSolvers.TestSolvers.test_cosfunction (   self)

Test our ability to compute the matrix cosine.

Parameters
[in]selfpointer.

◆ test_exponentialfunction()

def UnitTests.testSolvers.TestSolvers.test_exponentialfunction (   self)

Test our ability to compute the matrix exponential.

Parameters
[in]selfpointer.

◆ test_exponentialround()

def UnitTests.testSolvers.TestSolvers.test_exponentialround (   self)

Test our ability to compute the matrix exponential using a round trip.

Parameters
[in]selfpointer.

◆ test_hornerfunction()

def UnitTests.testSolvers.TestSolvers.test_hornerfunction (   self)

Test our ability to compute a matrix polynomial using horner's method.

Parameters
[in]selfpointer.

◆ test_inverseroot()

def UnitTests.testSolvers.TestSolvers.test_inverseroot (   self)

Test our ability to compute general matrix inverse root.

Parameters
[in]selfpointer.

◆ test_inversesquareroot()

def UnitTests.testSolvers.TestSolvers.test_inversesquareroot (   self)

Test our ability to compute the inverse square root of matrices.

Parameters
[in]selfpointer.

◆ test_invert()

def UnitTests.testSolvers.TestSolvers.test_invert (   self)

Test our ability to invert matrices.

Parameters
[in]selfpointer.

◆ test_logarithmfunction()

def UnitTests.testSolvers.TestSolvers.test_logarithmfunction (   self)

Test our ability to compute the matrix logarithm.

Parameters
[in]selfpointer.

◆ test_patersonstockmeyerfunction()

def UnitTests.testSolvers.TestSolvers.test_patersonstockmeyerfunction (   self)

Test our ability to compute a matrix polynomial using the paterson stockmeyer method.

Parameters
[in]selfpointer.

◆ test_powermethod()

def UnitTests.testSolvers.TestSolvers.test_powermethod (   self)

Test our ability to compute eigenvalues with the power method.

Parameters
[in]selfpointer.

◆ test_recursivechebyshevfunction()

def UnitTests.testSolvers.TestSolvers.test_recursivechebyshevfunction (   self)

Test our ability to compute using Chebyshev polynomials recursively.

Parameters
[in]selfpointer.

◆ test_root()

def UnitTests.testSolvers.TestSolvers.test_root (   self)

Test our ability to compute general matrix root.

Parameters
[in]selfpointer.

◆ test_signfunction()

def UnitTests.testSolvers.TestSolvers.test_signfunction (   self)

Test our ability to compute the matrix sign function.

Parameters
[in]selfpointer.

◆ test_sinfunction()

def UnitTests.testSolvers.TestSolvers.test_sinfunction (   self)

Test our ability to compute the matrix sine.

Parameters
[in]selfpointer.

◆ test_squareroot()

def UnitTests.testSolvers.TestSolvers.test_squareroot (   self)

Test our ability to compute the square root of matrices.

Parameters
[in]selfpointer.

The documentation for this class was generated from the following file: