RINGMesh  Version 5.0.0
A programming library for geological model meshes
test-matrix.cpp File Reference
#include <ringmesh/ringmesh_tests_config.h>
#include <geogram/basic/string.h>
#include <ringmesh/basic/matrix.h>

Go to the source code of this file.

Functions

void set_get_test (SparseMatrix< double, light > &matrix)
 
void symmetry_test (SparseMatrix< double, light > &matrix)
 
void product_by_vector_test (SparseMatrix< double, light > &matrix, const std::vector< double > &product_result)
 
void one_test_sequence (SparseMatrix< double, light > &matrix, const std::vector< double > &product_result)
 
void run_tests ()
 
int main ()
 

Function Documentation

◆ main()

int main ( )

Definition at line 142 of file test-matrix.cpp.

◆ one_test_sequence()

void one_test_sequence ( SparseMatrix< double, light > &  matrix,
const std::vector< double > &  product_result 
)

Definition at line 122 of file test-matrix.cpp.

◆ product_by_vector_test()

void product_by_vector_test ( SparseMatrix< double, light > &  matrix,
const std::vector< double > &  product_result 
)

Definition at line 108 of file test-matrix.cpp.

◆ run_tests()

void run_tests ( )

Definition at line 131 of file test-matrix.cpp.

◆ set_get_test()

void set_get_test ( SparseMatrix< double, light > &  matrix)

Definition at line 47 of file test-matrix.cpp.

◆ symmetry_test()

void symmetry_test ( SparseMatrix< double, light > &  matrix)

Definition at line 77 of file test-matrix.cpp.