Gael Guennebaud b8cf157e8c bug #1381: fix sparse.diagonal() used as a rvalue.
The problem was that is "sparse" is not const, then sparse.diagonal() must have the
LValueBit flag meaning that sparse.diagonal().coeff(i) must returns a const reference,
const Scalar&. However, sparse::coeff() cannot returns a reference for a non-existing
zero coefficient. The trick is to return a reference to a local member of
evaluator<SparseMatrix>.
(grafted from 296d24be4dd3c700089d1d9182a843c60d68019c
)
2017-01-25 17:39:01 +01:00
2016-10-05 14:54:36 -07:00
2017-01-16 13:36:56 +01:00
2011-12-05 14:52:21 +07:00
2012-07-15 11:46:22 -04:00
2012-07-15 10:20:59 -04:00
2016-11-23 14:13:08 +01:00

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/.

Description
No description provided
Readme MPL-2.0 146 MiB
Languages
C++ 85.1%
Fortran 8.5%
C 2.8%
CMake 1.9%
Cuda 1.2%
Other 0.4%