Christoph Hertzberg
13c636d864
Addendum to bug #859 : pexp(NaN) for double did not return NaN, also, plog(NaN) did not return NaN.
...
psqrt(NaN) and psqrt(-1) shall return NaN if EIGEN_FAST_MATH==0
2014-10-20 13:35:03 +02:00
Gael Guennebaud
00ec1629ca
Fix bug #859 : pexp(NaN) returned Inf instead of NaN
2014-10-20 11:38:51 +02:00
Gael Guennebaud
a72eabec9b
Fix bug #894 : the sign of LDLT was not re-initialized at each call of compute()
...
(grafted from d04f23260def5c61bce01942b4b74eb0c77c54ed
)
2014-10-20 10:48:40 +02:00
Gael Guennebaud
235c97ba92
Fix SparseQR::rank for a completely empty matrix.
...
(grafted from 8838b0a1fff2cb01fab3a55312a16ae20daead13
)
2014-10-19 22:42:20 +02:00
Gael Guennebaud
4126cb6369
Fix SparseLU::absDeterminant and add respective unit test
...
(grafted from a370b1f2e20804f0b99bcda1c3940f00300e4f90
)
2014-10-17 16:52:56 +02:00
Gael Guennebaud
8ea2ab4829
Fix JacobiSVD wrt undeR/overflow by doing scaling prior to QR preconditioning
...
(grafted from feacfa5f83085a7289b4b2aefc3a64b576fea048
)
2014-10-17 15:32:06 +02:00
Gael Guennebaud
aadbfe78c2
bug #890 : extract_data might returns 0x0 thus breaking aliasing detection
2014-10-10 16:42:32 +02:00
Gael Guennebaud
7d5e16c733
Add missing default ctor in Rotation2D
2014-09-30 16:59:28 +02:00
Christoph Hertzberg
e395a8042a
Fix bug #884 : No malloc for zero-sized matrices or for Ref without temporaries
...
manually ported from 4ba8aa14822ae0b444baa9e0d41d8744cdcd6b03
2014-09-25 16:25:31 +02:00
Gael Guennebaud
91f1a161ca
bug #879 : tri1 = mat * tri2 was compiling and running incorrectly if tri2 was not numerically triangular. Workaround the issue by evaluating mat*tri2 into a temporary.
2014-09-22 17:20:42 +02:00
Gael Guennebaud
16bca3bfe2
Fix SparseQR for row-major inputs.
...
(grafted from 755e77266f7c1005688654f7e7b070894c43bd18
)
2014-09-19 09:58:56 +02:00
Gael Guennebaud
e0ab58d815
Fix bug #791 : infinite loop in JacobiSVD in the presence of NaN.
...
(grafted from d6236d3b26f6b652c452d884c440099892fdcdba
)
2014-09-10 11:54:20 +02:00
Gael Guennebaud
c67a7148c4
ArrayWrapper and MatrixWrapper classes should not be nested by reference.
...
(grafted from 921a645481aa8825549960c19db2c1bee8375f8f
)
2014-09-10 10:33:19 +02:00
Gael Guennebaud
38dc683901
Fix bug #822 : outer products needed linear access, and add respective unit tests
...
(grafted from 51b3f558bb76c11149fc64971db786798f1b692c
)
2014-09-08 10:21:22 +02:00
Jitse Niesen
cad0fa5d77
Replace asm by __asm__ (bug #873 ).
...
Thanks to Markus Eisenmann for report and initial patch.
2014-09-06 11:54:47 +01:00
Gael Guennebaud
5daebe0a27
bug #871 : fix compilation on ARM/Neon regarding __has_builtin usage (backport)
2014-09-01 10:58:07 +02:00
Gael Guennebaud
3afdc6d95a
In SparseQR, calling factorize() without analyzePattern() was broken.
2014-08-26 23:32:32 +02:00
Gael Guennebaud
c14c03490f
merge
2014-08-26 13:00:11 +02:00
Gael Guennebaud
c880590d27
bug #861 : enable posix_memalign with PGI
...
(grafted from 2e50289ba323740ef89eb51a74e00e645a8eb9be
)
2014-08-26 12:54:19 +02:00
Gael Guennebaud
54294e2293
bug #857 : workaround MSVC compilation issue.
2014-08-26 12:52:29 +02:00
Gael Guennebaud
c7331ebb06
Do not apply the preconditioner before starting the iterations as this might destroy a very good initial guess.
...
(grafted from b49ef99617b11404007db283ce68f5dd5b2eff0e
)
2014-08-21 22:14:25 +02:00
Gael Guennebaud
0321449944
bug #854 : fix numerical issue in SelfAdjointEigenSolver::computeDirect for 3x3 matrices. The tolerance to detect stable cross products was too optimistic.
...
Add respective unit tests.
(grafted from 9c0aa81fbfc4abd0dc297d75305b9d579dad2754
)
2014-08-21 10:49:09 +02:00
Gael Guennebaud
bbaf01712c
bump to 3.2.2
2014-08-04 12:51:54 +02:00
Gael Guennebaud
8d69b87c53
Make the ordering method of SimplicialL[D]LT user configurable.
...
(grafted from d4cc1bdc7f27b856c4aefc939254ec851c831bf0
)
2014-07-20 14:22:58 +02:00
Gael Guennebaud
9b00035438
bug #843 : fix jacobisvd for complexes and extend respective unit test to chack with random tricky matrices,
...
and backport other JacobiSVD fixes
2014-07-17 17:09:15 +02:00
Gael Guennebaud
e215740e8e
Fix bug #838 : detect outer products from either the lhs or rhs
2014-07-11 17:17:17 +02:00
Gael Guennebaud
0cc67589d3
Fix bug #838 : fix dense * sparse and sparse * dense outer products
2014-07-11 16:31:41 +02:00
Christoph Hertzberg
51e2e93019
Backed out of changeset 6091:9d3e0da38576dddc4df25c0e61ad6685193eb630
...
Unfortunately this breaks things at other places
2014-07-10 16:12:33 +02:00
Christoph Hertzberg
9d3e0da385
Make MatrixBase::makeHouseholder resize its output vector if it is zero
...
(transplanted from f27f55bee3efc2cafd01cb07d3faadf7eb490f66
)
2014-07-10 14:59:18 +02:00
Chen-Pang He
160034bba1
Fix bug #839
2014-07-09 03:32:32 +08:00
Chen-Pang He
1967e7f2f3
Fix bug #839
2014-07-09 03:32:32 +08:00
Gael Guennebaud
6eb16aae2d
bug #808 : fix set_from_triplets temporary matrix type (already fixed in the devel branch)
2014-07-08 19:10:26 +02:00
Gael Guennebaud
77d57cd681
bug #808 : fix implicit conversions from int/longint to float/double
2014-07-08 19:07:58 +02:00
Gael Guennebaud
4777ca1afb
bug #808 : fix implicit conversions from int/longint to float/double
2014-07-08 18:59:18 +02:00
Gael Guennebaud
e3557e8dd2
bug #808 : use double instead of float for the increasing size ratio in CompressedStorage::resize
...
(grafted from 0e0ae400843cd9a459e5306d4d6560dbea759a42
)
2014-07-08 18:58:41 +02:00
Gael Guennebaud
0e0ae40084
bug #808 : use double instead of float for the increasing size ratio in CompressedStorage::resize
2014-07-08 18:58:41 +02:00
Gael Guennebaud
5c4733f6e4
Fix bug #809 : unused variable warning
2014-07-08 18:38:34 +02:00
Gael Guennebaud
b73908000c
Fix bug #809 : unused variable warning
...
(grafted from 5c4733f6e41dc09a1d700c780c8a3492906e127a
)
2014-07-08 18:38:34 +02:00
Gael Guennebaud
b47ef1431f
Fix many long to int implicit conversions
2014-07-08 16:47:11 +02:00
Christoph Hertzberg
e25e674852
bug #837 : Always re-align the result of EIGEN_ALLOCA.
2014-07-08 13:57:26 +02:00
Gael Guennebaud
4b6b76463a
Merged in jdh8/eigen (pull request PR-71)
...
Find benchmark opponents more aggressively
2014-07-08 13:13:16 +02:00
Gael Guennebaud
08b0c08e5e
Fix LDLT with semi-definite complex matrices: owing to round-off errors, the diagonal was not real. Also exploit the fact that the diagonal is real in the rest of LDLT
2014-07-08 10:04:27 +02:00
Gael Guennebaud
0dfb73d46a
Fix LDLT with semi-definite complex matrices: owing to round-off errors, the diagonal was not real. Also exploit the fact that the diagonal is real in the rest of LDLT
2014-07-08 10:04:27 +02:00
Chen-Pang He
b9ee880f07
chmod -x Eigen/src/Core/GenericPacketMath.h
2014-07-07 21:28:00 +08:00
Chen-Pang He
2bf58316ee
Fix dox at internal::tridiagonal_qr_step
2014-07-06 13:49:43 +08:00
Moritz Klammler
58687aa5e6
Avoid memory leak when constructor of user-defined type throws exception.
...
The added check `ctorleak.cpp` demonstrates how the leak can be reproduced.
The test appears to pass but it is leaking the storage of the (not created)
matrix. I don't know how to make this test fail in the existing test suite but
you can run it through Valgrind (or another debugger) to verify the leak.
$ ./check.sh ctorleak && valgrind --leak-check=full ./test/ctorleak
This patch fixes this leak by adding some try-catch-delete-rethrow blocks to
`Eigen/src/Core/util/Memory.h`.
2014-07-06 06:58:13 +02:00
Gael Guennebaud
339f14b8d1
bug #826 : document caveats in 1x1 and 2x1 constructors.
2014-07-21 13:43:48 +02:00
Gael Guennebaud
d4cc1bdc7f
Make the ordering method of SimplicialL[D]LT user configurable.
2014-07-20 14:22:58 +02:00
Gael Guennebaud
8e19027130
bug #826 : fix 64 to 32 bits conversion warning when calling Matrix<int,1,1>(long)
2014-07-20 14:03:22 +02:00
Chen-Pang He
7a915f6846
Move Doxygen-only stuff to *.dox
2014-07-05 22:41:58 +08:00