|
OPALX (Object Oriented Parallel Accelerator Library for Exascal) master (dc2a29eed580)
OPALX
|
Unit tests for GSL complex number operations. More...

Go to the source code of this file.
Classes | |
| class | GSLComplexTest |
Functions | |
| TEST_F (GSLComplexTest, CreateRectangular) | |
| TEST_F (GSLComplexTest, CreatePolar) | |
| TEST_F (GSLComplexTest, Addition) | |
| TEST_F (GSLComplexTest, Subtraction) | |
| TEST_F (GSLComplexTest, Multiplication) | |
| TEST_F (GSLComplexTest, Division) | |
| TEST_F (GSLComplexTest, Conjugate) | |
| TEST_F (GSLComplexTest, Absolute) | |
| TEST_F (GSLComplexTest, Argument) | |
| TEST_F (GSLComplexTest, Tanh) | |
| TEST_F (GSLComplexTest, Exp) | |
| TEST_F (GSLComplexTest, Log) | |
Unit tests for GSL complex number operations.
This file contains unit tests for GSL-compatible complex number operations. The implementation provides a wrapper around std::complex<double> with GSL-compatible function names and interfaces.
GSL_REAL and GSL_IMAG macros.Definition in file TestGSLComplex.cpp.
| TEST_F | ( | GSLComplexTest | , |
| Absolute | |||
| ) |
Definition at line 129 of file TestGSLComplex.cpp.
References gsl_complex_abs(), and gsl_complex_rect().

| TEST_F | ( | GSLComplexTest | , |
| Addition | |||
| ) |
Definition at line 83 of file TestGSLComplex.cpp.
References gsl_complex_add(), gsl_complex_rect(), GSL_IMAG, and GSL_REAL.

| TEST_F | ( | GSLComplexTest | , |
| Argument | |||
| ) |
Definition at line 136 of file TestGSLComplex.cpp.
References gsl_complex_arg(), and gsl_complex_rect().

| TEST_F | ( | GSLComplexTest | , |
| Conjugate | |||
| ) |
Definition at line 121 of file TestGSLComplex.cpp.
References gsl_complex_conjugate(), gsl_complex_rect(), GSL_IMAG, and GSL_REAL.

| TEST_F | ( | GSLComplexTest | , |
| CreatePolar | |||
| ) |
Definition at line 77 of file TestGSLComplex.cpp.
References gsl_complex_polar(), GSL_IMAG, and GSL_REAL.

| TEST_F | ( | GSLComplexTest | , |
| CreateRectangular | |||
| ) |
Definition at line 71 of file TestGSLComplex.cpp.
References gsl_complex_rect(), GSL_IMAG, and GSL_REAL.

| TEST_F | ( | GSLComplexTest | , |
| Division | |||
| ) |
Definition at line 111 of file TestGSLComplex.cpp.
References gsl_complex_div(), gsl_complex_rect(), GSL_IMAG, and GSL_REAL.

| TEST_F | ( | GSLComplexTest | , |
| Exp | |||
| ) |
Definition at line 159 of file TestGSLComplex.cpp.
References gsl_complex_exp(), gsl_complex_rect(), GSL_IMAG, and GSL_REAL.

| TEST_F | ( | GSLComplexTest | , |
| Log | |||
| ) |
Definition at line 168 of file TestGSLComplex.cpp.
References gsl_complex_log(), gsl_complex_rect(), GSL_IMAG, and GSL_REAL.

| TEST_F | ( | GSLComplexTest | , |
| Multiplication | |||
| ) |
Definition at line 101 of file TestGSLComplex.cpp.
References gsl_complex_mul(), gsl_complex_rect(), GSL_IMAG, GSL_REAL, and prod().

| TEST_F | ( | GSLComplexTest | , |
| Subtraction | |||
| ) |
Definition at line 92 of file TestGSLComplex.cpp.
References gsl_complex_rect(), gsl_complex_sub(), GSL_IMAG, and GSL_REAL.

| TEST_F | ( | GSLComplexTest | , |
| Tanh | |||
| ) |
Definition at line 143 of file TestGSLComplex.cpp.
References gsl_complex_rect(), gsl_complex_tanh(), GSL_IMAG, and GSL_REAL.
