|
OPALX (Object Oriented Parallel Accelerator Library for Exascal) master (dc2a29eed580)
OPALX
|
Unit tests for GSL linear algebra routines. More...
#include <gtest/gtest.h>#include <cmath>#include "Utilities/GSLComplex.h"#include "Utilities/GSLLinalg.h"#include "Utilities/GSLMatrix.h"
Go to the source code of this file.
Classes | |
| class | GSLLinalgTest |
Functions | |
| TEST_F (GSLLinalgTest, LUDecomp) | |
| TEST_F (GSLLinalgTest, LUDet) | |
| TEST_F (GSLLinalgTest, LUInvert) | |
| TEST_F (GSLLinalgTest, LUInvertIdentity) | |
| TEST_F (GSLLinalgTest, ComplexLUDecomp) | |
| TEST_F (GSLLinalgTest, ComplexLUDet) | |
| TEST_F (GSLLinalgTest, ComplexLUInvert) | |
Unit tests for GSL linear algebra routines.
This file contains unit tests for GSL-compatible linear algebra operations including LU decomposition, determinant computation, and matrix inversion for both real and complex matrices.
Definition in file TestGSLLinalg.cpp.
| TEST_F | ( | GSLLinalgTest | , |
| ComplexLUDecomp | |||
| ) |
Definition at line 157 of file TestGSLLinalg.cpp.
References gsl_complex_rect(), gsl_linalg_LU_decomp_complex(), gsl_matrix_complex_alloc(), gsl_matrix_complex_free(), gsl_matrix_complex_set(), gsl_permutation_alloc(), and gsl_permutation_free().

| TEST_F | ( | GSLLinalgTest | , |
| ComplexLUDet | |||
| ) |
Definition at line 177 of file TestGSLLinalg.cpp.
References gsl_complex_rect(), GSL_IMAG, gsl_linalg_LU_decomp_complex(), gsl_linalg_LU_det_complex(), gsl_matrix_complex_alloc(), gsl_matrix_complex_free(), gsl_matrix_complex_set(), gsl_permutation_alloc(), gsl_permutation_free(), and GSL_REAL.

| TEST_F | ( | GSLLinalgTest | , |
| ComplexLUInvert | |||
| ) |
Definition at line 201 of file TestGSLLinalg.cpp.
References gsl_complex_rect(), GSL_IMAG, gsl_linalg_LU_decomp_complex(), gsl_linalg_LU_invert_complex(), gsl_matrix_complex_alloc(), gsl_matrix_complex_free(), gsl_matrix_complex_get(), gsl_matrix_complex_set(), gsl_permutation_alloc(), gsl_permutation_free(), and GSL_REAL.

| TEST_F | ( | GSLLinalgTest | , |
| LUDecomp | |||
| ) |
Definition at line 58 of file TestGSLLinalg.cpp.
References gsl_linalg_LU_decomp(), gsl_matrix_alloc(), gsl_matrix_free(), gsl_matrix_set(), gsl_permutation_alloc(), and gsl_permutation_free().

| TEST_F | ( | GSLLinalgTest | , |
| LUDet | |||
| ) |
Definition at line 83 of file TestGSLLinalg.cpp.
References gsl_linalg_LU_decomp(), gsl_linalg_LU_det(), gsl_matrix_alloc(), gsl_matrix_free(), gsl_matrix_set(), gsl_permutation_alloc(), and gsl_permutation_free().

| TEST_F | ( | GSLLinalgTest | , |
| LUInvert | |||
| ) |
Definition at line 105 of file TestGSLLinalg.cpp.
References gsl_linalg_LU_decomp(), gsl_linalg_LU_invert(), gsl_matrix_alloc(), gsl_matrix_free(), gsl_matrix_get(), gsl_matrix_set(), gsl_permutation_alloc(), and gsl_permutation_free().

| TEST_F | ( | GSLLinalgTest | , |
| LUInvertIdentity | |||
| ) |
Definition at line 133 of file TestGSLLinalg.cpp.
References gsl_linalg_LU_decomp(), gsl_linalg_LU_invert(), gsl_matrix_alloc(), gsl_matrix_free(), gsl_matrix_get(), gsl_matrix_set_identity(), gsl_permutation_alloc(), and gsl_permutation_free().
