|
OPALX (Object Oriented Parallel Accelerator Library for Exascal) master (dc2a29eed580)
OPALX
|
Unit tests for GSL eigenvalue computation. More...
#include <gtest/gtest.h>#include <algorithm>#include <cmath>#include <vector>#include "Utilities/GSLComplex.h"#include "Utilities/GSLEigen.h"#include "Utilities/GSLMatrix.h"
Go to the source code of this file.
Classes | |
| class | GSLEigenTest |
Functions | |
| TEST_F (GSLEigenTest, EigenNonsymm_Identity) | |
| TEST_F (GSLEigenTest, EigenNonsymm_Diagonal) | |
| TEST_F (GSLEigenTest, EigenNonsymmv_Identity) | |
| TEST_F (GSLEigenTest, EigenNonsymmv_Diagonal) | |
| TEST_F (GSLEigenTest, EigenNonsymm_ErrorHandling) | |
| TEST_F (GSLEigenTest, WorkspaceAllocation) | |
Unit tests for GSL eigenvalue computation.
This file contains unit tests for GSL-compatible eigenvalue and eigenvector computation routines. The implementation uses a simplified QR algorithm for computing eigenvalues of non-symmetric matrices.
Definition in file TestGSLEigen.cpp.
| TEST_F | ( | GSLEigenTest | , |
| EigenNonsymm_Diagonal | |||
| ) |
Definition at line 81 of file TestGSLEigen.cpp.
References gsl_eigen_nonsymm(), gsl_eigen_nonsymm_alloc(), gsl_eigen_nonsymm_free(), gsl_matrix_alloc(), gsl_matrix_free(), gsl_matrix_set(), gsl_matrix_set_zero(), GSL_REAL, gsl_vector_complex_alloc(), gsl_vector_complex_free(), and gsl_vector_complex_get().

| TEST_F | ( | GSLEigenTest | , |
| EigenNonsymm_ErrorHandling | |||
| ) |
Definition at line 169 of file TestGSLEigen.cpp.
References gsl_eigen_nonsymm(), gsl_eigen_nonsymm_alloc(), gsl_eigen_nonsymm_free(), gsl_matrix_alloc(), gsl_matrix_free(), gsl_vector_complex_alloc(), and gsl_vector_complex_free().

| TEST_F | ( | GSLEigenTest | , |
| EigenNonsymm_Identity | |||
| ) |
Definition at line 56 of file TestGSLEigen.cpp.
References gsl_eigen_nonsymm(), gsl_eigen_nonsymm_alloc(), gsl_eigen_nonsymm_free(), GSL_IMAG, gsl_matrix_alloc(), gsl_matrix_free(), gsl_matrix_set_identity(), GSL_REAL, gsl_vector_complex_alloc(), gsl_vector_complex_free(), and gsl_vector_complex_get().

| TEST_F | ( | GSLEigenTest | , |
| EigenNonsymmv_Diagonal | |||
| ) |
Definition at line 138 of file TestGSLEigen.cpp.
References gsl_eigen_nonsymmv(), gsl_eigen_nonsymmv_alloc(), gsl_eigen_nonsymmv_free(), gsl_matrix_alloc(), gsl_matrix_complex_alloc(), gsl_matrix_complex_free(), gsl_matrix_free(), gsl_matrix_set(), gsl_matrix_set_zero(), GSL_REAL, gsl_vector_complex_alloc(), gsl_vector_complex_free(), and gsl_vector_complex_get().

| TEST_F | ( | GSLEigenTest | , |
| EigenNonsymmv_Identity | |||
| ) |
Definition at line 112 of file TestGSLEigen.cpp.
References gsl_eigen_nonsymmv(), gsl_eigen_nonsymmv_alloc(), gsl_eigen_nonsymmv_free(), GSL_IMAG, gsl_matrix_alloc(), gsl_matrix_complex_alloc(), gsl_matrix_complex_free(), gsl_matrix_free(), gsl_matrix_set_identity(), GSL_REAL, gsl_vector_complex_alloc(), gsl_vector_complex_free(), and gsl_vector_complex_get().

| TEST_F | ( | GSLEigenTest | , |
| WorkspaceAllocation | |||
| ) |
Definition at line 182 of file TestGSLEigen.cpp.
References gsl_eigen_nonsymm_alloc(), gsl_eigen_nonsymm_free(), gsl_eigen_nonsymmv_alloc(), gsl_eigen_nonsymmv_free(), gsl_eigen_nonsymm_workspace::n, and gsl_eigen_nonsymmv_workspace::n.
