eigen/unsupported/Eigen
Antonio Sanchez 1e6c6c1576 Replace memset with fill to work for non-trivial scalars.
For custom scalars, zero is not necessarily represented by
a zeroed-out memory block (e.g. gnu MPFR). We therefore
cannot rely on `memset` if we want to fill a matrix or tensor
with zeroes. Instead, we should rely on `fill`, which for trivial
types does end up getting converted to a `memset` under-the-hood
(at least with gcc/clang).

Requires adding a `fill(begin, end, v)` to `TensorDevice`.

Replaced all potentially bad instances of memset with fill.

Fixes #2245.
2021-07-08 18:34:41 +00:00
..
CXX11 Replace memset with fill to work for non-trivial scalars. 2021-07-08 18:34:41 +00:00
src Replace memset with fill to work for non-trivial scalars. 2021-07-08 18:34:41 +00:00
AdolcForward Add missing adolc isinf/isnan. 2021-02-19 22:26:56 +00:00
AlignedVector3 fix AlignedVector3 inconsisent interface with other Vector classes, default constructor and operator- were missing. 2019-12-06 21:07:39 +01:00
ArpackSupport Remove vim specific comments to recognoize correct file-type. 2021-02-09 09:13:09 +01:00
AutoDiff Fix numerous shadow-warnings for GCC<=4.8 2018-08-28 18:32:39 +02:00
BVH bug #1596: fix inclusion of Eigen's header within unsupported modules. 2018-09-17 09:54:29 +02:00
CMakeLists.txt merge EulerAngles module 2016-08-30 10:01:53 +02:00
EulerAngles bug #1596: fix inclusion of Eigen's header within unsupported modules. 2018-09-17 09:54:29 +02:00
FFT ReturnByValue is already non-copyable 2021-02-27 18:44:26 +01:00
IterativeSolvers fixed doxygen for unsupported iterative solver module 2021-04-11 16:26:14 +00:00
KroneckerProduct Include missing forward declaration of SparseMatrix 2016-08-29 18:56:46 +02:00
LevenbergMarquardt bug #1596: fix inclusion of Eigen's header within unsupported modules. 2018-09-17 09:54:29 +02:00
MatrixFunctions Fix most Doxygen warnings. Also add links to stable documentation from unsupported modules (by using the corresponding Doxytags file). 2018-10-19 21:10:28 +02:00
MoreVectorization bug #1596: fix inclusion of Eigen's header within unsupported modules. 2018-09-17 09:54:29 +02:00
MPRealSupport Fix MPrealSupport 2018-09-20 18:30:10 +02:00
NonLinearOptimization bug #1596: fix inclusion of Eigen's header within unsupported modules. 2018-09-17 09:54:29 +02:00
NumericalDiff bug #1596: fix inclusion of Eigen's header within unsupported modules. 2018-09-17 09:54:29 +02:00
OpenGLSupport bug #1596: fix inclusion of Eigen's header within unsupported modules. 2018-09-17 09:54:29 +02:00
Polynomials Remove vim specific comments to recognoize correct file-type. 2021-02-09 09:13:09 +01:00
Skyline bug #1596: fix inclusion of Eigen's header within unsupported modules. 2018-09-17 09:54:29 +02:00
SparseExtra Modify googlehash use to account for namespace issues. 2021-04-12 19:00:39 -07:00
SpecialFunctions Special function implementations for half/bfloat16 packets. 2020-12-04 10:16:29 -08:00
Splines Fix numerous shadow-warnings for GCC<=4.8 2018-08-28 18:32:39 +02:00