Go to file
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
.gitlab Add GitLab templates for issues and merge requests 2021-03-31 16:01:12 +00:00
bench Replace memset with fill to work for non-trivial scalars. 2021-07-08 18:34:41 +00:00
blas Replace language_support module with builtin CheckLanguage 2021-01-27 13:26:40 +00:00
ci Add CI infrastructure for pre-merge smoke tests. 2021-04-01 00:08:37 +00:00
cmake Fix checking of version number for mingw. 2021-06-11 23:19:10 +00:00
debug
demos Make file formatting comply with POSIX and Unix standards 2020-03-23 18:09:02 +00:00
doc Update ComplexEigenSolver_eigenvectors.cpp 2021-06-21 19:06:25 +00:00
Eigen Replace memset with fill to work for non-trivial scalars. 2021-07-08 18:34:41 +00:00
failtest Make file formatting comply with POSIX and Unix standards 2020-03-23 18:09:02 +00:00
lapack Replace language_support module with builtin CheckLanguage 2021-01-27 13:26:40 +00:00
scripts Replace calls to "hg" by calls to "git" 2019-12-04 11:24:06 +01:00
test Replace memset with fill to work for non-trivial scalars. 2021-07-08 18:34:41 +00:00
unsupported Replace memset with fill to work for non-trivial scalars. 2021-07-08 18:34:41 +00:00
.gitignore New CI infrastructure, including AArch64 runners 2020-09-11 18:11:49 +00:00
.gitlab-ci.yml Add CI infrastructure for pre-merge smoke tests. 2021-04-01 00:08:37 +00:00
.hgeol
CMakeLists.txt Fix CMake directory issues. 2021-07-07 17:24:57 +00:00
COPYING.APACHE Add Apache 2.0 license text in COPYING.APACHE. 2020-06-18 12:45:27 -07:00
COPYING.BSD Make file formatting comply with POSIX and Unix standards 2020-03-23 18:09:02 +00:00
COPYING.GPL
COPYING.LGPL
COPYING.MINPACK Make file formatting comply with POSIX and Unix standards 2020-03-23 18:09:02 +00:00
COPYING.MPL2
COPYING.README
CTestConfig.cmake STYLE: Convert CMake-language commands to lower case 2019-10-31 11:36:37 -05:00
CTestCustom.cmake.in Allow to filter out build-error messages 2018-07-24 20:12:49 +02:00
eigen3.pc.in
INSTALL
README.md Update old links to bitbucket to point to gitlab.com 2019-12-04 10:57:07 +01:00
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.