Jitse Niesen
17c321617d
Fix bug #286 : Infinite loop in JacobiSVD with denormals
2011-09-27 14:25:02 +01:00
Gael Guennebaud
c331c092d5
no comment
2011-09-21 14:20:41 +02:00
Gael Guennebaud
7301f4345c
quick workaround of MSVC9' ICE in pset1
2011-09-21 14:18:41 +02:00
Gael Guennebaud
5d1836b182
accept both STL and Eigen's containers for reserve()
2011-09-20 02:04:03 +02:00
Jitse Niesen
2092b45d0d
Bug fix for matrix1 * matrix2 * scalar1 * scalar2.
...
See report on http://forum.kde.org/viewtopic.php?f=74&t=96947 .
2011-09-19 15:07:19 +01:00
Jitse Niesen
6b006772f1
Fix LDLT::solve() if matrix singular but solution exists (bug #241 ).
...
Clarify this in docs and add regression test.
2011-09-11 06:30:53 +01:00
Gael Guennebaud
d52d8e4a53
reactivate the sorting in the experimental sparse-sparse product
2011-09-08 13:43:32 +02:00
Gael Guennebaud
7706bafcfd
add the possibility to reserve room for inner vector in SparseMatrix
2011-09-08 13:42:54 +02:00
Jitse Niesen
477d3e5726
Update docs of PlainObjectBase::Map(); fixes bug #335 .
...
Also fix some typos.
2011-09-03 15:18:21 +01:00
Gael Guennebaud
8414be739b
fix bug #330 : Index to int conversion warning
2011-08-23 11:02:10 +02:00
Gael Guennebaud
b3f5fbbd9a
oops EIGEN_DEFINE_STL_VECTOR_SPECIALIZATION now perfroms full specialization,
...
no need for the typename keywords
2011-08-22 10:48:04 +02:00
Gael Guennebaud
b85c89c313
fix bug #262 : Compilation error of stdvector_overload test with GCC 4.6
...
Now our aligned allocator is automatically activatived only when the user
did not specified an allocator (or specified the default std::allocator).
2011-08-22 10:12:10 +02:00
Gael Guennebaud
42e2578ef9
the min/max macros to detect unprotected min/max were undefined by some std header,
...
so let's declare them after and do the respective fixes ;)
2011-08-19 14:18:05 +02:00
Gael Guennebaud
5734ee6df4
add the possibility to specialize assign_impl and still call the default implementations.
...
(yes I know this change will be deprecated as soon as the evaluators will be in shape but I need this now)
2011-08-18 10:19:25 +02:00
Gael Guennebaud
f162f7c323
fix a numerical issue in the direct 3x3 eigenvector extraction
2011-08-08 10:46:26 +02:00
Hauke Heibel
3431c052c6
Improved compilation errors for Transform initialization/assignment with different numeric types.
2011-07-28 09:35:17 +02:00
Gael Guennebaud
8fa7e92e77
fix sparse selfadjoint time dense such that the other triangular part is not used at all
2011-07-26 09:02:41 +02:00
Gael Guennebaud
97ac0fd192
fix eigen2 support min/max garbage
2011-07-22 11:37:41 +02:00
Gael Guennebaud
e8313364c1
simplify a bit the 2x2 direct eigenvalue solver
2011-07-22 11:21:43 +02:00
Gael Guennebaud
47a2bca89f
integrate Hauke's 2x2 direct symmetric eigenvalues solver
2011-07-22 09:43:14 +02:00
Gael Guennebaud
26d7dad138
add a computeDirect method to SelfAdjointEigenSolver for fast eigen decomposition
2011-07-21 19:07:52 +02:00
Gael Guennebaud
22bff949c8
protect calls to min and max with parentheses to make Eigen compatible with default windows.h
...
(transplanted from 49b6e9143e
)
2011-07-21 11:19:36 +02:00
Hauke Heibel
705023fd85
Translation * RotationBase now returns an isometric transformation.
2011-07-19 11:13:40 +02:00
Gael Guennebaud
38a4e3053d
fix LLT rank one update for "upper" hermitian matrices
2011-07-19 10:09:43 +02:00
Gael Guennebaud
0d02182ae8
add an "InvalidInput" enum, used by the SuperLU interface
2011-07-18 13:37:41 +02:00
Gael Guennebaud
5fdebc2fa5
fix bug #316 - SelfAdjointEigenSolver::compute does not handle matrices of size (1,1) correctly
2011-07-09 07:15:14 +02:00
Thomas Capricelli
08074843ac
fix few warnings reported by clang
2011-07-07 22:20:04 +02:00
Gael Guennebaud
c98cd5e564
fix constness of intersection methods (bug #309 )
2011-06-27 13:15:01 +02:00
Jitse Niesen
0b308e79c4
Add DenseStorage specializations for dynamic size with MaxSize = 0 (bug #288 ).
...
This is necessary for instantiations like Matrix<float,Dynamic,Dynamic,0,0,0>.
2011-06-24 13:47:11 +01:00
Jitse Niesen
16db255333
Fix compilation of cholesky rank update test.
2011-06-24 13:41:23 +01:00
Thomas Capricelli
9b52fe0432
fix typo in doc for ParametrizedLine
2011-06-23 00:36:24 +02:00
Gael Guennebaud
7aabce7c76
rm confusing sentence
2011-06-17 09:46:05 +02:00
Gael Guennebaud
2f32e48517
New feature: add rank one update in Cholesky decomposition
2011-06-20 15:05:50 +02:00
Gael Guennebaud
a55c27a15f
fix documentation of norm
2011-06-18 08:30:34 +02:00
Benoit Jacob
aedccbf52f
back out 842881cfb1
2011-06-15 09:59:10 -04:00
Andy Somerville
842881cfb1
bug #298 - let normalize() return a reference to *this
2011-06-15 00:30:11 -04:00
Gael Guennebaud
40287d2fd9
remove the use of non standard long long
2011-06-14 10:56:47 +02:00
Gael Guennebaud
f82b3ea241
fix aligned_allocator::allocate interface
2011-06-14 08:50:25 +02:00
Gael Guennebaud
6d3dee1b66
introduce a smart_copy internal function and fix sparse matrices with non POD scalar type
2011-06-09 19:04:06 +02:00
Jitse Niesen
8c8ab9ae10
Implement matrix logarithm + test + docs.
...
Currently, test matrix_function_1 fails due to bug #288 .
2011-06-07 14:44:43 +01:00
Gael Guennebaud
91fe1507d1
Sparse: more fixes regarding long int as index type
2011-06-07 11:28:16 +02:00
Gael Guennebaud
421ece38e1
Sparse: fix long int as index type in simplicial cholesky and other decompositions
2011-06-06 10:17:28 +02:00
Jitse Niesen
7a61a564ef
Fix snippets for operator|| and && by adding pair of parens.
2011-06-03 11:17:08 +01:00
Gael Guennebaud
5bc4abc45e
fix compilation with MinGW
2011-06-01 12:16:21 +02:00
Gael Guennebaud
562d3ea91d
forgot to include this file in previous commit
2011-06-01 10:49:36 +02:00
Gael Guennebaud
35c1158ee3
add boolean || and && operators
2011-05-31 22:17:34 +02:00
Gael Guennebaud
9464745385
do not directly call std::ceil
2011-05-28 16:46:38 +02:00
Gael Guennebaud
87ac09daa8
Simplify the use of custom scalar types, the rule is to never directly call a standard math function using std:: but rather put a using std::foo before and simply call foo:
...
using std::max;
max(a,b);
2011-05-25 08:41:45 +02:00
Gael Guennebaud
117d17ee58
bug #271 : fix copy/paste mistakes in doc
...
(transplanted from 145b9cad63101ee46924d446fa8b08ffb48c7f3a)
2011-05-23 13:39:26 +02:00
Gael Guennebaud
46bee5682f
clean a bit previous patch (ctor vs static_cast and a few bits)
2011-05-23 13:34:04 +02:00
David H. Bailey
074b067624
fix implicit scalar conversions (needed to support fancy scalar types, see bug #276 )
2011-05-23 11:20:13 +02:00
Gael Guennebaud
7209d6a126
fix gemv_static_vector_if on architectures that cannot aligned on the stack (e.g., ARM NEON)
2011-05-21 22:15:11 +02:00
Gael Guennebaud
f2837aebc4
NEON: fix plset
2011-05-18 21:12:08 +02:00
Gael Guennebaud
85c137ccd4
NEON: fix ploaddup
2011-05-18 08:15:47 +02:00
Gael Guennebaud
179d42bb2b
fix bug #267 : alloca is not aligned on arm
2011-05-17 21:30:12 +02:00
Jitse Niesen
9a06055870
Store light-weight objects in evaluators by value.
...
This resolves failure in unit test caused by dying temporaries.
2011-05-13 14:05:59 +01:00
Jitse Niesen
e22a523021
Remove Eigen::internal::sqrt(), see bug #264 .
2011-05-12 16:52:56 +01:00
John Tytgat
0aa7425f15
fix bug #260 : broken Qt support for Transform
...
(transplanted from 84c8b6d5c5
)
2011-05-11 22:31:36 +02:00
Jitse Niesen
d7e3c949be
Implement and document MatrixBase::sqrt().
2011-05-09 22:20:20 +01:00
Jitse Niesen
0896c6d97d
Get rid of wrong "subscript above bounds" warning (bug #149 ).
2011-05-07 18:44:11 +01:00
Gael Guennebaud
4e7e5d09e1
s/n=n/EIGEN_UNUSED_VARIABLE(n)
2011-05-06 21:29:19 +02:00
Gael Guennebaud
fb76452cbc
add missing .data() members to MatrixWrapper and ArrayWrapper
2011-05-06 21:15:05 +02:00
Gael Guennebaud
97b6d26f5b
fix compilation on ARM NEON (missing AlignedOnScalar)
2011-05-06 09:03:48 +02:00
Thomas Capricelli
883219041f
better fix for gcc 4.6.0 / ptrdiff_t, as suggested by Benoit
2011-05-05 18:48:18 +02:00
Thomas Capricelli
a18a1be42d
Fix compilation with gcc-4.6.0, patch provided by Anton Gladky <gladky.anton@gmail.com>,
...
working on debian packaging.
2011-05-05 00:44:24 +02:00
Jitse Niesen
012419166e
Bail out if preprocessor symbol Success is defined (bug #253 ).
2011-05-04 14:28:45 +01:00
Jitse Niesen
cc23b0a3d9
Remove unused enums in Constants.h .
2011-05-03 17:20:54 +01:00
Jitse Niesen
a96c849c20
Document enums in Constants.h (bug #248 ).
...
To get the links to work, I also had to document the Eigen namespace.
Unfortunately, this means that the word Eigen is linked whenever it appears
in the docs.
2011-05-03 17:08:14 +01:00
Gael Guennebaud
1947da39ab
fix bug #258 : asin/acos copy paste mistake
2011-05-02 13:26:44 +02:00
Jitse Niesen
06fb7cf470
Implement compound assignments using evaluator of SelfCwiseBinaryOp.
2011-04-28 16:57:35 +01:00
Jitse Niesen
3b60d2dbc4
Implement swap using evaluators.
2011-04-28 15:52:15 +01:00
Jitse Niesen
2d11041e24
Use copyCoeff/copyPacket in copy_using_evaluator.
2011-04-22 22:36:45 +01:00
Jitse Niesen
3457965bf5
Implement evaluator for Diagonal.
2011-04-22 22:36:45 +01:00
Jitse Niesen
f924722f3b
Implement evaluators for Reverse.
2011-04-22 22:36:45 +01:00
Jitse Niesen
bb2d70d211
Implement evaluators for ArrayWrapper and MatrixWrapper.
2011-04-22 22:36:45 +01:00
Gael Guennebaud
6441e8727b
fix aligned_stack_memory_handler for null pointers
2011-04-21 09:00:55 +02:00
Mathieu Gautier
392eb9fee8
Quaternion : add Flags on Quaternion's traits with the LvalueBit set if needed
...
Quaternion : change PacketAccess to IsAligned to mimic other traits
test : add a test and 4 failtest on Map<const Quaternion> based on Eigen::Map ones
2011-04-12 14:49:50 +02:00
Gael Guennebaud
e87f653924
fix bug #250 : compilation error with gcc 4.6 (STL header files no longer include cstddef)
2011-04-19 16:34:25 +02:00
Gael Guennebaud
67d50f539b
fix bug #242 : vectorization was wrongly enabled on MSVC 2005
2011-04-19 15:25:00 +02:00
Jitse Niesen
0b40b36d10
Make MapBase(PointerType) constructor explicit (fixes bug #251 )
2011-04-19 12:13:04 +01:00
Benoit Jacob
820545cddb
fix unaligned-array-assert link
2011-04-18 06:35:54 -04:00
Jitse Niesen
c9b5531d6c
Normalize eigenvectors returned by EigenSolver (fixes bug #249 )
...
because the documentation says that we do this.
Also, add a unit test to cover this.
2011-04-15 17:39:59 +01:00
Jitse Niesen
e654405900
Implement unrolling in copy_using_evaluator() .
2011-04-13 11:49:48 +01:00
Jitse Niesen
7e86324898
Implement evaluator for PartialReduxExpr as a dumb wrapper.
2011-04-13 09:49:10 +01:00
Jitse Niesen
11164830f5
Implement evaluator for Replicate.
2011-04-12 22:54:31 +01:00
Jitse Niesen
12a30a982f
Implement evaluator for Select.
2011-04-12 22:34:16 +01:00
Jitse Niesen
88b3116b99
Decouple AssignEvaluator.h from assign_traits from Assign.h
2011-04-12 13:35:08 +01:00
Gael Guennebaud
0c146bee1b
enforce no inlining of the GEBP product kernel: this is a big
...
function that makes no sense to inline, though GCC was thinking
the opposite. This even slighlty improve the perf. And as a side
effect this workaround a weird GCC-4.4 linking bug (see
"Problem with g++-4.4 -O2 and Eigen3" in the ML)
2011-04-07 18:49:45 +02:00
Jitse Niesen
eae5a6bb09
Decouple Cwise*Op evaluators from expression objects
2011-04-05 18:30:51 +01:00
Jitse Niesen
11ea81858a
Implement evaluator for CwiseUnaryView
2011-04-05 18:20:43 +01:00
Jitse Niesen
cca7b146a2
Implement evaluator for Map
2011-04-05 18:15:59 +01:00
Gael Guennebaud
a6b5314c20
Performance tunning for TRMM products
2011-04-05 11:20:50 +02:00
Jitse Niesen
ae06b8af5c
Make evaluators for Matrix and Array inherit from common base class.
...
This gets rid of some code duplication.
2011-04-04 15:35:14 +01:00
Jitse Niesen
afdd26f229
Do some of the actual work in evaluator for Block.
...
Also, add simple accessor methods to Block expression class.
2011-04-04 13:44:50 +01:00
Jitse Niesen
d90a8ee8bd
Evaluators: add Block evaluator as dumb wrapper, add slice vectorization.
2011-03-31 13:50:52 +01:00
Gael Guennebaud
b471161f28
fix typo and remove unused declaration.
2011-03-31 10:02:02 +02:00
Adam Szalkowski
969e92261d
fix bug #239 : the essential part was left uninitialized in some cases
2011-03-31 09:54:52 +02:00
Jitse Niesen
8175fe43e0
Evaluators: Make inner vectorization more similar to default traversal.
2011-03-28 21:29:47 +01:00
Gael Guennebaud
6feb1d3c0b
fix trmv for Strictly* triangular matrices and trapezoidal matrices
2011-03-28 17:42:26 +02:00
Gael Guennebaud
568478ffe5
fix trmm for some unusual trapezoidal cases (a dense set of columns or rows is zero)
2011-03-28 17:41:46 +02:00
Jitse Niesen
b175bc464f
Evaluators: Implement linear traversal, better testing.
2011-03-27 22:08:48 +01:00
Jitse Niesen
1b17a674dd
Evaluators: Implement inner vectorization.
...
The implementation is minimal (I only wrote the functions called by
the unit test) and ugly (lots of copy and pasting).
2011-03-27 13:49:15 +01:00
Jitse Niesen
5c204d1ff7
Evaluators: Implement LinearVectorizedTraversal, packet ops in evaluators.
2011-03-25 16:30:41 +00:00
Gael Guennebaud
e6fa4a267a
improve computation of the sub panel width
2011-03-24 23:42:25 +01:00
Gael Guennebaud
931814d7c0
improve performance of trsm
2011-03-24 23:19:53 +01:00
Jitse Niesen
c6ad2deead
Bug fix in linspace_op::packetOp(row,col). Fixes bug #232 .
...
Also, add regression test.
2011-03-24 10:42:11 +00:00
Gael Guennebaud
42bc1f77be
impl basic product evaluator on top of previous one
2011-03-24 09:33:36 +01:00
Gael Guennebaud
abc8c0821c
makes evaluator test use VERIFY_IS_APPROX
2011-03-23 17:23:56 +01:00
Gael Guennebaud
816541d82c
add a stupid Product<A,B> expression produced by prod(a,b), and implement a first version of its evaluator
2011-03-23 16:12:21 +01:00
Gael Guennebaud
cfd5c2d74e
import evaluator works
2011-03-23 11:54:00 +01:00
Gael Guennebaud
5fda8cdfb3
fix 228 (ei_aligned_stack_delete does not exist anymore)
2011-03-21 21:59:42 +01:00
Gael Guennebaud
b8ecda5c66
clean a bit the stack allocation mechanism
2011-03-19 10:27:47 +01:00
Gael Guennebaud
290205dfc0
fix memory leak when a custom scalar throw an exception
2011-03-19 01:06:50 +01:00
Benoit Jacob
5991d247f9
bump
2011-03-18 05:27:58 -04:00
Benoit Jacob
4931a719f4
bump
2011-03-14 14:10:05 -04:00
Jitse Niesen
27f34269d5
Document EIGEN_DEFAULT_DENSE_INDEX_TYPE.
...
Also, expand description of EIGEN_DONT_ALIGN.
2011-03-11 11:15:44 +00:00
Benoit Jacob
dc36efbb8f
fix bug #219 : Map Flags AlignedBit was miscomputed, didn't account for EIGEN_ALIGN
2011-03-10 10:17:17 -05:00
Oliver Ruepp
5d1263e7c5
bug #37 : fix resizing when the destination sparse matrix is row major
2011-03-08 16:37:59 +01:00
Benoit Jacob
bfcad536e8
* bug #206 : correctly forward computationOptions and work towards avoiding mallocs after preallocation, with unit test.
...
* added EIGEN_RUNTIME_NO_MALLOC and new set_is_malloc_allowed() function to implement that test
2011-03-06 20:59:25 -05:00
Benoit Jacob
b464fc19bc
try to fix a ICC 11.1 compiler error (bug #217 )
2011-03-06 19:27:31 -05:00
Benoit Jacob
c541d0a62e
disable ICC 12 warning 279 - controlling expression is constant
2011-03-06 19:06:44 -05:00
Benoit Jacob
56818d907e
Make EIGEN_ALIGN16 always align to fix crashes with EIGEN_DONT_ALIGN_STATICALLY. New macro EIGEN_USER_ALIGN16 had the old behavior i.e. honors user preference.
2011-03-04 09:57:49 -05:00
Gael Guennebaud
4f0909b5f0
fix bug #212 (installation of Eigen2Support/Geometry)
2011-03-04 14:16:58 +01:00
Gael Guennebaud
5cec29162b
fix compilation in the case of 1D Transform
2011-03-02 19:29:55 +01:00
Gael Guennebaud
703c8a0cc6
fix compilation when mixing CompactAffine with Homogeneous objects
2011-03-02 19:27:13 +01:00
Gael Guennebaud
d30f0c0953
fix transform * matrix products: in particular it now truely considers the rhs as a set of (homogeneous) points and do not neglect the homogeneous coordinates in the case of affine transform
2011-03-02 19:26:38 +01:00
Gael Guennebaud
c8e1b679fa
re-enable fast pset1-pstore by introducing a new higher level pstore1 function
2011-03-02 10:55:44 +01:00
Benoit Jacob
77fc6a9914
bump
2011-02-28 00:55:52 -05:00
Benoit Jacob
eef03525b8
fix bug #203 : revert to using _mm_set1_p[sd]
2011-02-28 00:04:05 -05:00
Benoit Jacob
9be2712bf7
remove now-useless comments
2011-02-27 22:35:17 -05:00
Benoit Jacob
0612768c1c
fix bug #201 : Clang too has intrinsics bugs preventing us to use custom unaligned loads
2011-02-27 21:59:07 -05:00
Benoit Jacob
4846c76d9d
shut up a stupid clang 2.8 warning
2011-02-27 20:18:03 -05:00
Benoit Jacob
afc9efca15
fix compilation with clang 2.8
2011-02-27 20:17:47 -05:00
Benoit Jacob
ea7d872181
documentation fixes
2011-02-27 17:43:10 -05:00
Benoit Jacob
b3544ce2ae
bug #195 - fix this once and for all: just never use _mm_load_sd on gcc/i386, it generates redundant x87 ops
2011-02-27 17:26:59 -05:00
Jitse Niesen
a8f5ef9388
Document (non)sorting of eigenvalues.
...
Also, update docs for (Generalized)SelfAdjointEigenSolver to reflect that these
two classes were split apart.
2011-02-27 14:06:55 +00:00
Gael Guennebaud
ef73265987
to ease debugging let's catch invalid template options in Transform
2011-02-25 09:03:24 +01:00
Benoit Jacob
5dfae4524b
fix bug #195 : fast unaligned load for integer using _mm_load_sd failed when the value interpreted as a NaN
2011-02-24 10:31:57 -05:00
Hauke Heibel
2064c59878
Improved docs of PlainObjectBase::conservativeResize methods.
2011-02-24 15:48:41 +01:00
Gael Guennebaud
bb9a465c5a
fix AltiVec ploaddup
2011-02-24 00:23:50 +03:00
Gael Guennebaud
23aae0d63e
fix pset1 for complex
2011-02-23 21:24:47 +03:00
Gael Guennebaud
c121e6f390
implement ploaddup for complex and SSE/NEON even though they are not used in practice
2011-02-23 16:31:42 +01:00
Gael Guennebaud
955c099eb5
implement ploaddup for altivec and add respective unit test
2011-02-23 18:20:55 +03:00
Gael Guennebaud
6e01780541
fix a couple of issues with pcplxflip
2011-02-23 17:51:40 +03:00
Gael Guennebaud
78e1a62c54
implement pcplxflip for altivec
2011-02-23 14:20:58 +01:00
Gael Guennebaud
7dc18b20bb
same for neon
2011-02-23 09:41:55 +01:00
Gael Guennebaud
32e7dae776
Altivec: fix infinite loop (ei_ -> internal:: change)
2011-02-23 09:41:02 +01:00
Gael Guennebaud
c78b5fd9aa
fix no newline warning
2011-02-23 09:23:11 +01:00
Gael Guennebaud
2fb5567e08
add missing AlignedOnScalar
2011-02-22 21:25:47 +01:00
Benoit Jacob
c58a2ff03a
add EIGEN_PERMANENTLY_DISABLE_STUPID_WARNINGS non-default option. Use it in our own CMakeLists. also add a include-guard-like mechanism to prevent doing unmatched #pragma warning push/pop.
2011-02-22 10:05:41 -05:00
Benoit Jacob
9e1127619c
merge
2011-02-22 09:33:01 -05:00
Benoit Jacob
720767ae40
ICC 12 / linux only defined __INTEL_COMPILER, not __intel_compiler
2011-02-22 09:32:39 -05:00
Benoit Jacob
d8e97aee89
shut up stupid ICC warnings
2011-02-22 09:31:22 -05:00
Benoit Jacob
625814464e
fix legitimate ICC 12 warning
2011-02-22 09:30:54 -05:00
Gael Guennebaud
39b27fb656
altivec compilation fix
2011-02-22 15:26:28 +01:00
Benoit Jacob
25579df2d4
'fix' a couple of clang -Wconstant-logical-operand warnings (still not convinced about the pertinence of that warning)
2011-02-22 08:54:55 -05:00
Benoit Jacob
3884308da7
__attribute__((flatten)) seems to be recognized by neither clang nor icc despite these compilers defining __GNUC__.
2011-02-22 08:40:37 -05:00
Benoit Jacob
39d3bc2394
fix bug #190 : directly pass Transform Options to Matrix, allowing to use RowMajor. Fix issues in Transform with non-default Options.
2011-02-22 08:14:38 -05:00
Gael Guennebaud
659c97ee49
gcc 4.4 also defines float32_t as a special type
2011-02-22 10:04:09 +01:00
Gael Guennebaud
51da67f211
more compilation fixes for altivec
2011-02-21 20:36:20 +01:00
Gael Guennebaud
05545d0197
fix compilation
2011-02-21 17:47:31 +01:00
Gael Guennebaud
fb1a29fed5
fix ICE and warning with gcc 4.2.4
2011-02-21 16:11:18 +01:00
Gael Guennebaud
8f8c67b8bd
fix bug #186 (in 32 bits mode, gcc 4.3 messed up with pfirst for complex<float>)
2011-02-18 15:47:17 +01:00
Gael Guennebaud
abce49ea21
fix a segfault in "slice vectorization" when the destination might not be aligned on a scalar (complex<double>)
2011-02-18 14:20:36 +01:00
Gael Guennebaud
9195a224f3
fix division by zero if the matrix is exactly zero
2011-02-17 19:39:57 +01:00
Gael Guennebaud
b8ef48c46d
for consistency forward declare tan, asin, acos functors
2011-02-17 18:23:04 +01:00
Gael Guennebaud
aea630a98a
factorize implementation of standard real unary math functions, and add acos, asin
2011-02-17 17:37:11 +01:00
Benoit Jacob
8fb27fad36
remove #include <iostream> at the wrong place
2011-02-17 07:47:05 -05:00
Jitse Niesen
be224d93f4
Include necessary header files when working around bug #89 .
...
Fixes bug #188 .
2011-02-17 11:51:48 +00:00
Benoit Jacob
11402edfd3
with old gcc (bug #89 ), only include iostream in debug mode
2011-02-16 12:01:47 -05:00
Benoit Jacob
59596efdf7
Fix bug #89 : on GCC <= 4.3, use a custom assert implementation to work around a compiler bug
2011-02-16 08:50:19 -05:00
Gael Guennebaud
8e0a42350d
fix stupid warning (bug #185 )
2011-02-14 15:33:26 +01:00
Hauke Heibel
ac465a0891
Improve the Transform interface in order to prevent T.rotation() = R from compiling.
2011-02-14 12:00:47 +01:00
Jitse Niesen
211e1f8044
Improve documentation of plugins.
2011-02-13 22:50:57 +00:00
Benoit Jacob
58986ac832
bump
2011-02-12 18:57:04 -05:00
Hauke Heibel
1a6597b8e4
MSVC does not like using uninitialized SSE variables, so we have to pass all zeros.
2011-02-12 21:29:16 +01:00
Hauke Heibel
509ca63543
Merge
2011-02-12 18:50:53 +01:00
Hauke Heibel
beb03032b7
Disabled warning regarding the use of uninitialized variables on MSVC.
2011-02-12 18:48:57 +01:00
Jitse Niesen
9ac68e40a0
Write topic page for storage orders.
2011-02-12 17:43:29 +00:00
Gael Guennebaud
9d2bf35a05
implement optimized ploadu for MSVC10: this also fix bad code generation in gebp_kernel :)
2011-02-12 16:40:09 +01:00
Gael Guennebaud
ec7409b16e
since gebp_kernel handled the scaling by alpha it used too many packets, this patch fix that.
2011-02-12 14:17:52 +01:00
Hauke Heibel
bf79a3199c
Reduced error traces when mixing matrices with different scalar types.
2011-02-11 09:41:48 +01:00
Gael Guennebaud
fe70113fab
fix Transform documention regarding Mode
2011-02-10 18:58:37 +01:00
Benoit Jacob
6a5a13e394
The pfirst hack is needed also on msvc 2010 as it gets completely nuts, even though it doesnt segfault as msvc 2008 did
2011-02-09 15:13:23 -05:00
Benoit Jacob
63626bb966
remove debug #error
2011-02-09 14:37:52 -05:00
Benoit Jacob
85f9fab003
back out changeset efdf2e4056
...
. It turns out that the SSE3 header is always included, even without any SSE enabled, so it was making us wrongly use SSE3 paths. Backing this out fixes msvc related crashes, at least bug #165 .
2011-02-09 14:01:26 -05:00
Gael Guennebaud
d6c4ca4845
fix redundancy
2011-02-09 13:44:05 +01:00
Gael Guennebaud
c0d5131435
workaround gcc 4.2.1 ICE (fix bug #145 )
2011-02-09 13:04:35 +01:00
Gael Guennebaud
40526e24b4
fix memory leak (when conservatively resizing vectors of dynamically allocated scalar types such as bugnums)
2011-02-07 19:52:16 +01:00
Benoit Jacob
ba9f6a2c3b
now random<integer types> spans over 0..RAND_MAX, or -RAND_MAX/2..RAND_MAX/2 for signed types, or the most significant bits for smaller integer types.
2011-02-07 10:55:41 -05:00
Benoit Jacob
68a2e04a96
fix fuzzy compares for integer types, using a selector
2011-02-07 10:53:17 -05:00
Gael Guennebaud
c5c8efa575
workaround gcc 4.2 and 4.3 compilation issue with NEON
2011-02-07 16:41:21 +01:00
Benoit Jacob
9105e62d0a
introduce EIGEN_MAKING_DOCS to tell whether we're compiling the docs examples
2011-02-06 12:51:42 -05:00
Benoit Jacob
182ed9ba6c
merge
2011-02-06 11:57:31 -05:00
Benoit Jacob
bc6625ab87
fix const correctness in Diagonal::coeffRef (fix found by failtests)
2011-02-06 11:57:04 -05:00
Benoit Jacob
dab4e583cb
fix EIGEN_STATIC_ASSERT_LVALUE (fix found by failtests)
2011-02-06 11:56:33 -05:00
Hauke Heibel
d975b82105
Removed internal::as_argument. This fixes the alignment issues of bug #165 .
2011-02-06 17:33:04 +01:00
Gael Guennebaud
ea99880760
fix under- and overflow
2011-02-06 08:23:10 +01:00
Hauke Heibel
8aee724274
Made MatrixBase::BasisReturnType const.
2011-02-05 15:53:17 +01:00
Hauke Heibel
6c3dc0d243
Fix Diagonal related const correctness issues.
2011-02-05 14:19:53 +01:00
Hauke Heibel
e20f1a44bb
Fixed hidden const correctness issue.
2011-02-05 13:52:18 +01:00
Jitse Niesen
e2d46eac42
Remove all references to EIGEN_TUNE_CPU_CACHE_SIZE.
...
This macro is no longer used as of revision 0212eec23f
.
2011-02-04 22:33:53 +01:00
Thomas Capricelli
0b555a4a3d
fix misc warnings
2011-02-04 13:55:12 +01:00
Thomas Capricelli
0ed604583f
turnaround for a compiler bug in gcc 3.4.6
2011-02-04 12:09:30 +01:00
Gael Guennebaud
5887a086cf
fix SSE3 issue (infinite loop after the ei_ => internal change) - this fix bug #174
2011-02-03 17:55:24 +01:00
Gael Guennebaud
1526de96a0
fix compilation with MSVC
2011-02-03 17:23:33 +01:00
Benoit Jacob
4489c56c9e
add Map static methods taking Strides, add test checking for compilation errors
2011-02-03 10:05:45 -05:00
Gael Guennebaud
2f71277105
add global tan function
2011-02-03 14:45:21 +01:00
Jason Newton
d028262e06
add tan function in Array world
2011-02-03 14:34:40 +01:00
Gael Guennebaud
a617d7f2ad
fix compilation with MSVC2005 (strange, stupid fixes for MSVC9 confuse MSVC8....)
2011-02-02 17:47:48 +01:00
Gael Guennebaud
d5f6819761
split BandMatrix to a base and a wrapper class
2011-02-02 11:38:08 +01:00
Gael Guennebaud
8915d5bd22
fix 168 : now TriangularView::solve returns by value making TriangularView::solveInPlace less important.
...
Also fix the very outdated documentation of this function.
2011-02-01 17:21:20 +01:00
Gael Guennebaud
ffc8386fdb
mark the packet access methods as internal
2011-02-01 16:14:53 +01:00
Gael Guennebaud
a486d5590a
implement optimized path for selfadjoint rank 1 update (safe regarding dynamic alloc)
2011-02-01 15:49:10 +01:00
Gael Guennebaud
fa32ce0fc5
fix alignment issue
2011-02-01 13:51:56 +01:00
Benoit Jacob
2d09b11a97
relax Matrix/Array(Index) ctors to allow size 0, add test.
2011-02-01 07:46:02 -05:00
Gael Guennebaud
4cb9d0f943
notify the creation of manual temporaries
2011-02-01 11:41:52 +01:00
Gael Guennebaud
c60818fca8
fix trmv regarding strided vectors and static allocation of temporaries
2011-02-01 11:38:46 +01:00
Gael Guennebaud
0fdd01fe24
operator(int) and the likes are not only fine for linear storage
2011-02-01 11:09:02 +01:00
Gael Guennebaud
f4a7679904
fix packing criterion
2011-02-01 10:41:12 +01:00
Gael Guennebaud
f46ace61d3
fix dynamic allocation for fixed size objects in matrix-vector product
2011-01-31 21:30:27 +01:00
Benoit Jacob
dc22ae101f
kill stage 15, it's useless
2011-01-31 09:18:49 -05:00
Benoit Jacob
7032ec80ae
eigen2support: disable sparse tests, and do not require to define YES_I_KNOW_NOT_STABLE
2011-01-31 08:44:49 -05:00
Benoit Jacob
374deaed5f
make eigen2 eigensolver test pass
2011-01-31 08:36:14 -05:00
Gael Guennebaud
6e67d15795
now gemv supports strides
2011-01-30 08:17:46 +01:00
Benoit Jacob
a1f5ea8954
make eigen2 cholesky test pass
2011-01-28 13:04:23 -05:00
Benoit Jacob
e001db2a15
fix bug in triangular matrix-vector produce found by eigen2 tests!
2011-01-28 13:04:11 -05:00
Gael Guennebaud
817d86cbaf
really fix permute_symm_to_symm for sparse complex matrix
2011-01-28 15:51:55 +01:00
Gael Guennebaud
af712e80e6
fix bug #73 : weird compilation error in HouseholderSequence where double and float were mixed. Hopefuly this also solve bug #91...
2011-01-28 12:35:32 +01:00
Gael Guennebaud
d76ed18a9f
rm useless ctor
2011-01-28 11:25:11 +01:00
Gael Guennebaud
42d512d33c
fix compilation with gcc 4.2 and older
2011-01-28 10:26:05 +01:00
Gael Guennebaud
97801e5e0e
Eigen/Eigen should not include Sparse until it is API stable
2011-01-28 10:04:02 +01:00
Gael Guennebaud
162d29e696
fix compilation of sparse module with ICC
2011-01-28 09:55:32 +01:00
Benoit Jacob
b2b8c6a89c
dot() now always uses eigen3 convention, even in eigen2 support mode, even stage 10. Didn't have a choice as lots of eigen code is using it.
2011-01-27 12:04:26 -05:00
Gael Guennebaud
e761ba68f7
merge
2011-01-27 18:03:13 +01:00
Gael Guennebaud
3d8e179aa2
fix MaxCols in ComplexEigenSolver which was causing memory allocation instead of static allocation in the nomalloc test. Uncomment commenetd parts of the nomalloc test since now matrix-matrix products are safe.
2011-01-27 18:02:49 +01:00
Gael Guennebaud
32124bc64a
EIGEN_YES_I_KNOW_SPARSE_MODULE_IS_NOT_STABLE_YET must be defined to use Eigen/Sparse
2011-01-27 17:36:58 +01:00
Benoit Jacob
52fed69baa
add test for geometry with eigen2_ prefixes. fix that stuff.
2011-01-27 11:21:38 -05:00
Gael Guennebaud
955e096277
add an Options template parameter to Hyperplane and ParametrizedLine
2011-01-27 17:17:06 +01:00
Benoit Jacob
fd400ffffb
reverse order of testing for eigen2 support stages. Higher stages now have priority. So if your whole project builds with say stage 10, you can manually enable stage 20 for selected files.
2011-01-27 10:34:44 -05:00
Benoit Jacob
b69b6a9db2
add Threshold API to FullPivHouseholderQR
2011-01-27 10:17:52 -05:00
Gael Guennebaud
a954a0fbd5
Add an Options template paramter to Transform to enable/disable alignment
2011-01-27 16:07:33 +01:00
Christoph Hertzberg
0aa752fc4f
add quaternion Options, add unaligned possibility
2011-01-27 09:14:22 -05:00
Gael Guennebaud
9ccd16609c
fix twisted selfadjoint to selfadjoint (conjugation issue)
2011-01-27 14:39:01 +01:00
Eamon Nerbonne
40998f5e86
fix const-related compiler error on MSC.
2011-01-27 07:43:07 -05:00
Gael Guennebaud
e8d6a5ca87
fix cross product for complexes and add support for mixed real-complex cross products
2011-01-27 11:33:37 +01:00
Gael Guennebaud
0bfb78c824
allow mixed complex-real and real-complex dot products
2011-01-27 09:59:19 +01:00
Benoit Jacob
fe3bb545e0
allow matrix[index] in EIGEN2_SUPPORT
2011-01-26 20:22:33 -05:00
Gael Guennebaud
1eb85b4cf1
allow the possibility to automatically call or not the ctors on a per scalar type basis, and disable automatic initialization of std::complex<>
2011-01-26 17:56:49 +01:00
Benoit Jacob
162cb8ff42
import back LeastSquares into eigen2support. Pass most of eigen2's 'regression' test, except for regression_4 which is about complex numbers.
2011-01-26 11:05:41 -05:00
Gael Guennebaud
98285ba81c
merge
2011-01-26 16:36:07 +01:00
Gael Guennebaud
15ef62ca43
extend PermutationMatrix and Transpositions to support arbitrary interger types and to support the Map/Wrapper model via base and derived classes
2011-01-26 16:33:23 +01:00
Benoit Jacob
76c630d185
eigen2 support: import SVD back, pass SVD tests
2011-01-26 10:33:03 -05:00
Benoit Jacob
313eea8f10
fix the remainder of bug #159
2011-01-26 10:01:18 -05:00
Benoit Jacob
f88ca0ac79
fix the eigen3 part of bug #159 - build issue with selfadjointview
2011-01-26 09:49:06 -05:00
Benoit Jacob
9a5ded3e1d
fix bug #160 - forgot hg add
2011-01-25 21:31:27 -05:00
Benoit Jacob
c350f6f12c
fix bug #161
2011-01-25 21:28:20 -05:00
Benoit Jacob
39536d44da
fix build
2011-01-25 21:24:31 -05:00
Benoit Jacob
1d98cc5e5d
eigen2 support: implement part<SelfAdjoint>, mimic eigen2 behavior braindeadness-for-braindeadness
2011-01-25 21:22:04 -05:00
Benoit Jacob
4fbadfd230
merge
2011-01-25 11:19:54 -05:00
Benoit Jacob
07e3ef4f38
eigen2: pass QR decomposition and hyperplane tests
2011-01-25 11:19:26 -05:00
Gael Guennebaud
6896cab5b9
one more const missing
2011-01-25 16:52:40 +01:00
Gael Guennebaud
28d6e84150
fix compilation after recent const change in return types
2011-01-25 16:33:02 +01:00
Benoit Jacob
b1d6a9945c
eigen2: pass the inverse test
2011-01-25 10:05:29 -05:00
Benoit Jacob
09d1923f61
eigen2: pass lu test
2011-01-25 10:02:36 -05:00
Benoit Jacob
dcfb58f529
eigen2: fix USING_PART_OF_NAMESPACE_EIGEN
2011-01-25 08:03:12 -05:00
Gael Guennebaud
84448b058c
fix USING_PART_OF_NAMESPACE_EIGEN to export ei_ prefixed math functions
2011-01-25 09:35:49 +01:00
Gael Guennebaud
7dd4aaba9f
fix missing const qualifier in cwiseEqual
2011-01-24 18:49:18 +01:00
Benoit Jacob
bd12ac4ffc
import eigen2 Geometry module into Eigen2Support.
...
fix build of geometry tests
2011-01-24 11:21:58 -05:00
Benoit Jacob
5bfde30e48
fix compilation of array tests
2011-01-24 09:38:50 -05:00
Benoit Jacob
9089488210
fix compilation of Eigen/Geometry with EIGEN2_SUPPORT: was including non-existent header
2011-01-24 08:59:47 -05:00
Benoit Jacob
c3a4f6b5c5
const-qualify template parameters representing const arguments to expressions.
...
needed to fix docs compile issue.
2011-01-24 08:27:06 -05:00
Benoit Jacob
1dabd133cc
pass eigen2's triangular test
2011-01-23 21:53:28 -05:00
Benoit Jacob
5c82fd7f40
Move part() to EIGEN2_SUPPORT (had been deprecated for a long time)
2011-01-23 18:49:36 -05:00
Benoit Jacob
1cf4996d3c
make eigen2 visitor test pass
2011-01-23 18:34:30 -05:00
Benoit Jacob
8df5bca979
rename build stages to multiples of 10; old stage 2 becomes stage 15, while stage 20 generates errors (instead of warnings) on conflicting API.
2011-01-23 18:22:18 -05:00
Benoit Jacob
cc1f70abc3
make eigen2 dynalloc test pass (add to eigen2 support some internal stuff that some users may have been relying on)
2011-01-21 10:47:31 -05:00
Benoit Jacob
30de1651d3
relax Map const correctness in eigen2 support stages <= 3
...
introduce new 'strict' stage 4
2011-01-21 10:42:19 -05:00
Benoit Jacob
5be269db88
make eigen2 submatrices test pass
2011-01-21 10:24:59 -05:00
Benoit Jacob
cc2b7a5397
introduce the 3 stages of eigen2 support, writing to the mailing list about that in Eigen2 to Eigen3 Migration Path thread
2011-01-21 09:51:03 -05:00
Benoit Jacob
34d93686db
lots more EIGEN2_SUPPORT fixes. Now several of the most important core tests build and succeed.
2011-01-20 10:36:32 -05:00
Benoit Jacob
66a2ffa9bd
Completely disable Eigen/Array in Eigen3; completely enable in EIGEN2_SUPPORT.
2011-01-20 08:12:24 -05:00
Benoit Jacob
96f08213f7
big eigen2support fix, aimed at users who relied on internal eigen2 stuff: now we dont need customizations in test/eigen2/main.h anymore.
...
These tests already build:
eigen2_basicstuff
eigen2_adjoint
eigen2_linearstructure
eigen2_prec_inverse_4x4
2011-01-19 11:01:07 -05:00
Benoit Jacob
1f6bd2915d
import eigen2 test suite. enable by defining EIGEN_TEST_EIGEN2
...
only test_prec_inverse4x4 is fixed at the moment. now need to go over all those tests.
2011-01-19 10:10:54 -05:00
Benoit Jacob
604afc9aca
fix bug #155 , const-related compilation error
2011-01-18 09:14:14 -05:00
Hauke Heibel
9b2546fea8
Added remaining const coeffRef accessors to Array- and MatrixWrapper.
2011-01-18 13:19:13 +01:00
Benoit Jacob
c7eaca50a0
__cpuidex is not (always) present in VS 2008 + SP1, it seems
2011-01-17 11:17:45 -05:00
Gael Guennebaud
5010033d88
do not stop the factorization if one pivot is exactly 0, and return the
...
index of the first zero pivot if any
2011-01-17 11:11:22 +01:00
Gael Guennebaud
ef3e690a0c
return the index of the first non positive diagonal entry (more useful than simply true or false)
2011-01-17 11:09:03 +01:00
Gael Guennebaud
8b6c1caa3e
fix compilation of rowmajor sparse time diagonal
2011-01-14 20:29:55 +01:00
Jose Luis Blanco
cbfab7204f
Update of CPUID macros to fix segfaults in amd64 code.
2011-01-05 02:43:43 +01:00
Benoit Jacob
98f0274305
third pass of const-correctness fixes (bug #54 ), hopefully the last one...
2011-01-07 05:16:01 -05:00
Gael Guennebaud
c7baf07a3e
add plugin mechanism to sparse objects
2011-01-07 15:53:02 +01:00
Jitse Niesen
9111d73017
Fix compilation error in HouseholderSequence introduced in my previous commit.
2011-01-07 13:46:23 +00:00
Jitse Niesen
2cc75f4922
Make HouseholderSequence::setTrans() protected (cf. bug #50 ).
...
Users can call .transpose() instead.
2011-01-06 11:30:19 +00:00
Hauke Heibel
4ba0ec5e0e
Fixed #148 where a const-accessor for coefficients was missing in the MatrixWrapper.
2011-01-04 15:35:50 +01:00
Jitse Niesen
004488a31d
Fix bug in symmetric rank-2 update for row-major matrices (bug #144 ).
2011-01-04 10:35:39 +00:00
Jitse Niesen
fb023b871f
Const-correctness fix for gemv_selector<OnTheRight,ColMajor,true> (bug #144 ).
2011-01-04 10:35:10 +00:00
Benoit Jacob
fd4e366d7e
fix severe perf bug: coeff-based matrix products were not considered aligned, typically preventing vectorization.
...
added unit test.
2011-01-02 12:07:39 -05:00
Jitse Niesen
47a9d2ed54
Document HouseholderSequence.
...
Incomplete: I did not explain the difference between OnTheLeft and OnTheRight,
and there is only one example.
2011-01-02 16:59:44 +00:00
Gael Guennebaud
902af035d3
merge
2010-12-31 17:26:48 +01:00
Gael Guennebaud
25efcdd042
fix sparse time dense product with a rowmajor lhs
2010-12-31 17:11:17 +01:00
David J. Luitz
11e253bc10
[Sparse] Added regression tests for the two bugfixes, the code passes all sparse_product tests
2010-12-30 15:16:23 +01:00
Benoit Jacob
13867c15cc
fix compilation of code using e.g. Transpose<const Foo>::data() non-const-qualified. Same problem existed for coeffRef() and also in MapBase.h.
2010-12-30 07:47:51 -05:00
Benoit Jacob
26c2afd55a
fix compile errors in Tridiagonalization and in doc examples
2010-12-30 04:52:20 -05:00
Benoit Jacob
dbd9c5fd50
fix HouseholderSequence API, bug #50 :
...
* remove ctors taking more than 2 ints
* rename actualVectors to length
* add length/shift/trans accessors/mutators
2010-12-30 04:18:40 -05:00
Jitse Niesen
d6a5ba5a08
Rename EIGEN_DENSESTORAGEBASE_PLUGIN to EIGEN_PLAINOBJECTBASE_PLUGIN.
2010-12-29 19:12:39 +00:00
Jose Luis Blanco
3ca31a8b74
fixed msvc9 build errors.
2010-12-29 19:42:01 +01:00
Jose Luis Blanco
97c54ad220
fix MSVC warnings, bug #143
2010-12-29 06:15:41 -05:00
Thomas Capricelli
7a29ae0b5c
fix preprocessor checks for availability of cpuid
2010-12-28 13:46:39 +01:00
Jitse Niesen
657013c974
Mention ptr_fun in docs for .unaryExpr()
2010-12-27 16:35:25 +00:00
Jitse Niesen
8db9acbc16
Move doxygen comments for EIGEN_NO_DEBUG from source to I14.
...
This reverts changeset 76fbe94279
. Benoit and I agree that my
approach there (to use doxygen comments) pollutes the code too much.
2010-12-27 15:07:11 +00:00
Benoit Jacob
dc3618a557
move BandMatrix and TridiagonalMatrix to the internal:: namespace
2010-12-25 17:17:10 -05:00
Benoit Jacob
8d2a10c5c1
more renaming to make this file matrix-or-array-agnostic
2010-12-25 17:04:36 -05:00
Benoit Jacob
e8768251db
rename macro
2010-12-25 17:01:01 -05:00
Benoit Jacob
86d3711fb7
remove EIGEN_REF_TO_TEMPORARY, clarify docs
2010-12-25 16:45:25 -05:00
Benoit Jacob
75b7d98665
bug #54 - really fix const correctness except in Sparse
2010-12-22 17:45:37 -05:00
Hauke Heibel
efdf2e4056
Added automatic SSE3/4.1/4.2 support for MSVC.
2010-12-16 20:08:22 +01:00
Hauke Heibel
f578dc7aff
Fixed compound subtraction in ArrayBase where the assignment needs to be carried out on the derived type.
...
Added unit tests for map based component wise arithmetic.
2010-12-16 17:34:13 +01:00
Hauke Heibel
6f5c45ceff
Fixed ctor from const raw data for Matrices and added the missing implementation for Arrays.
...
Fixed a warning regarding the conversion from int to bool in MapBase.
2010-12-15 15:19:51 +01:00
Gael Guennebaud
68fe80861c
Fix bug #133 : remove the EIGEN_RESTRICT which was useless here anyway
2010-12-13 09:56:13 +01:00
Konstantinos Margaritis
e05c79cbd8
Fixed NEON compilation errors, changed float-abi back to softfp (which is the most used right now).
...
Some complex tests appear to segfault, needs a more careful look.
2010-12-10 20:27:46 +02:00
Benoit Jacob
74cc42b22f
bug #54 - The big Map const-correctness changes
2010-12-10 02:09:58 -05:00
Gael Guennebaud
e736df3edd
suppress stupid warning
2010-12-10 15:53:13 +01:00
Gael Guennebaud
79cc86f701
fix compilation
2010-12-10 13:52:47 +01:00
Gael Guennebaud
67c28570e3
fix compilation with ICC (template keyword on a non template method)
2010-12-10 10:05:52 +01:00
Gael Guennebaud
5bc21c25c5
fix ICE with gcc 3.4 and 4.0.1
2010-12-10 09:59:44 +01:00
Gael Guennebaud
bacd531862
fix bug #128 : tridiagonalization failed for 1x1 matrices
2010-12-09 19:56:20 +01:00
Gael Guennebaud
17de59278b
simplification
2010-12-09 19:47:02 +01:00
Gael Guennebaud
0b32c5bdda
fix compilation of sparse_basic for DynamicSparseMatrix
2010-12-09 19:39:15 +01:00
Benoit Jacob
aec0782719
fix the build of eigensolver_complex test.
...
it was calling the .value() method on an inner product, and that was blocked in bad zero-sized case.
fixed by adding the .value() method to DenseBase for all 1x1 expressions, and allowing coeff accessors in ProductBase for 1x1 expressions.
2010-12-09 03:47:35 -05:00
Benoit Jacob
1be6449f2e
fix bug #127 . our product selection logic was flawed in that it used the Max-sized to determine whether the size is 1.
...
+ test.
2010-12-09 02:38:07 -05:00
Benoit Jacob
819bcbed19
fix comment
2010-12-07 02:17:15 -05:00
Eamon Nerbonne
7a7ca99a31
[mq]: Mingw32 fix
...
intrin.h is not required nor supported by mingw32. It is present (and supported) on mingw-w64 builds, even those for 32-bit systems, but here too it's not required on 32-bit systems. So if we're on mingw, and it's 64-bit, then and only then is the intrin.h inclusion necessary.
2010-12-03 23:24:06 +01:00
Gael Guennebaud
c49c013c47
add main ei_* functions into Eigen2Support
2010-12-03 11:22:35 +01:00
Hauke Heibel
a289065c73
Applied a fix to our std::vector specialization which prevents the usage of workaround_msvc_stl_support when T is not a class.
2010-12-02 12:33:15 +01:00
Benoit Jacob
59b944cb50
add is_const
2010-12-01 09:22:54 -05:00
Benoit Jacob
46387cc180
remove makeconst_return_type
2010-12-01 09:22:50 -05:00
Hauke Heibel
f0ba513f41
Fixed compilation of tridiagonalization related unit tests.
2010-11-27 15:41:46 +01:00
Hauke Heibel
3899857e08
Removed remove_const_on_value_type since the meaning is unclear and it is in fact unused.
...
Extened the meta unit tests.
2010-11-26 18:06:08 +01:00
Hauke Heibel
60a544c879
Added STL like (add|remove)_const. Fixed add_const_on_value_type for "const T* const".
2010-11-26 16:56:03 +01:00
Hauke Heibel
bf9d25ce58
Postfixed add_const and remove_const by _on_value_type to express the differences to the STL.
2010-11-26 16:30:45 +01:00
Gael Guennebaud
d551e99644
make HessenbergDecompositionMatrixHReturnType internal
2010-11-26 15:39:01 +01:00
Gael Guennebaud
e06c6553e0
make TridiagonalizationMatrixTReturnType internal and only export a public MatrixTReturnType typedef
2010-11-26 15:36:29 +01:00
Gael Guennebaud
0d63212257
add a TridiagonalizationMatrixTReturnType class to make Tridiagonalization::matrixT() more efficient and future proof.
2010-11-26 15:31:47 +01:00
Gael Guennebaud
421b2b5ff7
fix a couple of issues with TridiagonalMatrix
2010-11-26 13:04:20 +01:00
Gael Guennebaud
d8b26cfeec
s/id/p to avoid name clash
2010-11-26 08:36:16 +01:00
Gael Guennebaud
156a31b0e9
fully implement scalar_fuzzy_impl<bool> as, e.g., the missing isMuchSmallerThan is convenient to filter out false values.
2010-11-25 18:00:30 +01:00
Gael Guennebaud
f1690fb9fa
fix bug #122 : rank 2 update test and scalar multiple extraction were both wrong
2010-11-23 19:19:04 +01:00
Benoit Jacob
0ab9a0a2f7
make UpperBidiagonalization internal: don't want to support it, it's not used.
...
Keeping it because it tests BandMatrix.
2010-11-23 11:12:42 -05:00