Go to file
Antonio Sanchez f19bcffee6 Specialize std::complex operators for use on GPU device.
NVCC and older versions of clang do not fully support `std::complex` on device,
leading to either compile errors (Cannot call `__host__` function) or worse,
runtime errors (Illegal instruction).  For most functions, we can
implement specialized `numext` versions. Here we specialize the standard
operators (with the exception of stream operators and member function operators
with a scalar that are already specialized in `<complex>`) so they can be used
in device code as well.

To import these operators into the current scope, use
`EIGEN_USING_STD_COMPLEX_OPERATORS`. By default, these are imported into
the `Eigen`, `Eigen:internal`, and `Eigen::numext` namespaces.

This allow us to remove specializations of the
sum/difference/product/quotient ops, and allow us to treat complex
numbers like most other scalars (e.g. in tests).
2021-01-22 18:19:19 +00:00
bench
blas
ci Add CI configuration for ppc64le 2020-09-22 00:26:23 +00:00
cmake check for include dirs set 2020-11-26 10:22:46 +00:00
debug
demos
doc Fix typo in doc 2020-11-30 10:53:29 +00:00
Eigen Specialize std::complex operators for use on GPU device. 2021-01-22 18:19:19 +00:00
failtest
lapack Remove code checking for CMake < 3.5 2020-12-14 09:57:44 +00:00
scripts
test Specialize std::complex operators for use on GPU device. 2021-01-22 18:19:19 +00:00
unsupported Remove std::cerr in iterative solver since we don't have iostream. 2021-01-21 11:40:05 +01:00
.gitignore
.gitlab-ci.yml
.hgeol
CMakeLists.txt Remove code checking for CMake < 3.5 2020-12-14 09:57:44 +00:00
COPYING.APACHE
COPYING.BSD
COPYING.GPL
COPYING.LGPL
COPYING.MINPACK
COPYING.MPL2
COPYING.README
CTestConfig.cmake
CTestCustom.cmake.in
eigen3.pc.in
INSTALL
README.md
signature_of_eigen3_matrix_library

Eigen is a C++ template library for linear algebra: matrices, vectors, numerical solvers, and related algorithms.

For more information go to http://eigen.tuxfamily.org/.

For pull request, bug reports, and feature requests, go to https://gitlab.com/libeigen/eigen.