Commit Graph

  • 00a3d07795 display actual/expected warning if ei_isApprox() fails Thomas Capricelli 2010-05-21 02:13:50 +02:00
  • aadea5ae56 fix a warning Thomas Capricelli 2010-05-21 02:13:16 +02:00
  • c1d005e976 introduce a new macro EIGEN_ARG_UNUSED(arg) and use it in some places to silent some warnings (from clang) Thomas Capricelli 2010-05-21 02:05:25 +02:00
  • 742bbdfa57 clang/llvm is now good enough. I can compile a project using those (one of the binary segfaults though, and i think it's related..) Thomas Capricelli 2010-05-21 02:03:43 +02:00
  • 4daba0750e fix some warnings with clang Thomas Capricelli 2010-05-21 01:46:17 +02:00
  • 2ab446695b fix some compilation issues with clang (and hopefully bring eigen more close to std ?) Thomas Capricelli 2010-05-21 01:39:33 +02:00
  • 17d080edf2 clang shocks on this. According to people on #llvm, this is indeed not allowed by c++ standard: Thomas Capricelli 2010-05-21 01:37:48 +02:00
  • b9bcd93ddc fix a compilation pb with clang (it's actually surprising gcc did not complain) Thomas Capricelli 2010-05-20 03:53:09 +02:00
  • cec297f77b Disabled to __forceinline warning - it creates too many spurious errors and we disabled it only for the unit test (see also the code comment). Hauke Heibel 2010-05-19 19:35:42 +02:00
  • 39edf8e2bf I was not really aware of the implications on fixed size types when the strong inlining is not present. We really need it on MSVC! Hauke Heibel 2010-05-19 18:57:38 +02:00
  • 05910b7996 merge Gael Guennebaud 2010-05-19 16:51:07 +02:00
  • 188171b991 merge Gael Guennebaud 2010-05-19 16:49:56 +02:00
  • 64cbd45266 minor chnages in Taucs and Cholmod backends Gael Guennebaud 2010-05-19 16:49:05 +02:00
  • 6c18246a80 DenseBase is implemented as a class, not a struct. Hauke Heibel 2010-05-19 16:44:28 +02:00
  • 2b6153d3ed simplify inner product Gael Guennebaud 2010-05-19 16:37:17 +02:00
  • bf09fe55ed fix selfadjoint to dense Gael Guennebaud 2010-05-19 16:35:34 +02:00
  • f0283c13e8 Applied tiny Qt related fixes. Hauke Heibel 2010-05-19 16:32:47 +02:00
  • 08fbfa93e0 make the cmake options EIGEN_DEFAULT_TO_ROW_MAJOR and disabling EIGEN_SPLIT_LARGE_TESTS work also for unsupported tests Benoit Jacob 2010-05-18 08:59:39 -04:00
  • 1c04484a01 bug fix, since the last storage order changes, this InnerSize calculation was wrong Benoit Jacob 2010-05-18 08:24:06 -04:00
  • 5250c4395c compilation fix: const T ---> typename ei_makeconst<T>::type (error was appearing when building tests with alignmnet disabled) Benoit Jacob 2010-05-18 08:19:23 -04:00
  • cf6d3162cc cache outer size in Block => x1.5 speed up for a.block() = b.block() Gael Guennebaud 2010-05-17 16:54:17 +02:00
  • 0f3bcf853f fix mixing types in inner product Gael Guennebaud 2010-05-14 08:55:56 +02:00
  • 6d08301dcc add regression test for previous fix Gael Guennebaud 2010-05-13 23:34:04 +02:00
  • 42a1c983c1 fix bug in sliced redux Gael Guennebaud 2010-05-13 23:22:18 +02:00
  • c55761e015 make inner product return a 1x1 matrix Gael Guennebaud 2010-05-12 18:11:05 +02:00
  • 82d898083f fix compilation error thanks to test case by Trevor Irons, and expand unit test Benoit Jacob 2010-05-09 13:20:46 -04:00
  • 6624b93d67 add important comment and move stride helpers to DenseCoeffsBase.h Benoit Jacob 2010-05-09 09:41:54 -04:00
  • 8f076f6817 fix installation of global headers in case the src path contains 'src' Cyrille Berger 2010-05-08 17:55:55 -04:00
  • 0928c40f68 rename Coeffs.h -> DenseCoeffsBase.h Benoit Jacob 2010-05-08 16:02:13 -04:00
  • 7cbb84b046 move the strides API to DenseCoeffsBase, and various fixes to make stuff compile after my big changes Benoit Jacob 2010-05-08 16:00:05 -04:00
  • 0e2a480466 use CoeffReturnType Benoit Jacob 2010-05-08 15:58:27 -04:00
  • eda2795f51 use modern ei_first_aligned function, dont try compiling coeffRef() on rvalue expressions. Benoit Jacob 2010-05-08 15:57:56 -04:00
  • 5deda97413 remove bogus test that was failing Benoit Jacob 2010-05-08 15:56:52 -04:00
  • 65bd1652b1 let Diagonal have the DirectAccessBit, using an inner stride Benoit Jacob 2010-05-08 14:19:04 -04:00
  • bfdc1c4973 introduce DenseCoeffsBase: this is where the coeff / coeffRef / etc... methods go. Rationale: coeffRef() methods should only exist when we have DirectAccess. So a natural thing to do would have been to use enable_if, but since there are many methods it made more sense to do the "enable_if" for the whole group by introducing a new class. And that also that the benefit of not changing method prototypes. Benoit Jacob 2010-05-08 13:45:31 -04:00
  • d03779f75f fix CwiseUnaryView: it shouldn't have the AlignedBit, but it should have the DirectAccessBit and corresponding strides API. Benoit Jacob 2010-05-08 13:42:41 -04:00
  • 2d74f1ac92 Document SelfAdjointEigenSolver and add examples. Jitse Niesen 2010-05-04 17:11:32 +01:00
  • 6ea6276f20 Quiet MSVC. Hauke Heibel 2010-05-04 14:06:41 +02:00
  • 38021b08c1 Merge. Jitse Niesen 2010-05-02 21:51:27 +01:00
  • afed0ef90d Document Tridiagonalization class, remove unused types. Jitse Niesen 2010-05-01 17:52:16 +01:00
  • 12557fb2a2 more std:: namespace fixups for 2.0 branch Piotr Trojanek 2010-05-01 09:25:36 +09:00
  • 8f249e8b54 fix compilation: const (T&) != const T& , use ei_makeconst Benoit Jacob 2010-04-30 14:28:35 -04:00
  • cf4f90ccea fix #116 and remove debug cout's Benoit Jacob 2010-04-30 11:58:17 -04:00
  • 38facbd55b kill the LeastSquares module. I didn't even put it in Eigen2Support because it requires several other modules. But if you want we can always create a new module, Eigen2Support_LeastSquares... Benoit Jacob 2010-04-29 10:40:52 -04:00
  • 664f2d4508 dont try passing --version to qcc Benoit Jacob 2010-04-29 08:04:42 -04:00
  • 8a95876825 with QCC, don't try passing --version Benoit Jacob 2010-04-29 07:58:47 -04:00
  • d3f97f7582 forgot hg add Benoit Jacob 2010-04-29 07:30:00 -04:00
  • 5d63d2cc4b * kill the retval typedefs, instead introduce ei_xxx_retval which does the job automatically in 99% cases and can be specialized * add real/imag/abs2 global functions for Array * document ei_global_math_functions_filtering_base * improve unit tests Benoit Jacob 2010-04-28 22:42:34 -04:00
  • e277586958 Complete rework of global math functions and NumTraits. * Now completely generic so all standard integer types (like char...) are supported. ** add unit test for that (integer_types). * NumTraits does no longer inherit numeric_limits * All math functions are now templated * Better guard (static asserts) against using certain math functions on integer types. Benoit Jacob 2010-04-28 18:51:38 -04:00
  • d9c1224133 Simplify computation of eigenvectors in EigenSolver. * reduce scope of declarations * use that low = 0 and high = size-1 * rename some variables * rename hqr2_step2() to computeEigenvectors() * exploit that ei_isMuchSmallerThan takes absolute value of arguments Jitse Niesen 2010-04-26 17:43:16 +01:00
  • 024995dbca Use topRows() and rightCols() in ComplexSchur and RealSchur. Jitse Niesen 2010-04-26 16:59:18 +01:00
  • 4f83d6ad19 Remove doc/snippets/MatrixBase_minor.cpp because minor() was removed. Jitse Niesen 2010-04-26 16:35:38 +01:00
  • 34b3cdb82c Added EIGEN_DONT_PARALLELIZE preprocessor directive Carlos Becker 2010-04-26 17:08:54 +02:00
  • bf71b466e9 Removed ambiguity between Map and Matrix Options template parameter. Hauke Heibel 2010-04-26 16:59:04 +02:00
  • 82d7c4e1d0 forgot hg add Benoit Jacob 2010-04-26 07:54:19 -04:00
  • 17dbe6c743 Added file extensions to our unit test scripts to prevent MSVC from failing to build because of name clashes. Hauke Heibel 2010-04-26 13:31:58 +02:00
  • 18c70b12d7 Fixed a warning. Hauke Heibel 2010-04-26 13:31:16 +02:00
  • c4dda79904 Fixed stablenorm test, condition was not met when running tests Carlos Becker 2010-04-26 00:20:20 +02:00
  • ce09b4ddfc compile Benoit Jacob 2010-04-25 17:10:28 -04:00
  • 9337f371d2 (proper commit this time) replaced _mm_prefetch in GeneralBlockPanelKernel.h, with ei_prefetch() inline function. Implemented NEON and AltiVec versions, copied SSE version over from GeneralBlockPanelKernel.h. Also in GCC case (or rather !_MSC_VER) it's implemented using __builtin_prefetch(). NEON managed to give a small but welcome boost, 0.88GFLOPS -> 0.91GFLOPS. Konstantinos Margaritis 2010-04-24 00:58:44 +03:00
  • 5acf46bd12 Backed out changeset 6972c140f7 Konstantinos Margaritis 2010-04-24 00:57:10 +03:00
  • 6972c140f7 replaced _mm_prefetch in GeneralBlockPanelKernel.h, with ei_prefetch() inline function. Implemented NEON and AltiVec versions, copied SSE version over from GeneralBlockPanelKernel.h. Also in GCC case (or rather !_MSC_VER) it's implemented using __builtin_prefetch(). NEON managed to give a small but welcome boost, 0.88GFLOPS -> 0.91GFLOPS. oem 2010-04-24 00:44:14 +03:00
  • e3e34b5920 remove MakeBase, use ei_dense_xpr_base instead (yes, it was only used in dense xprs anyway) Benoit Jacob 2010-04-23 12:16:30 -04:00
  • a16ba80bfa * remove ei_block_direct_access_status * remove HasDirectAccess / NoDirectAccess constants Benoit Jacob 2010-04-23 11:36:22 -04:00
  • 58e7297859 * remove class DenseDirectAccessBase * remove member XprBase typedefs, use ei_dense_xpr_base * remove member _HasDirectAccess typedefs, use ei_has_direct_access Benoit Jacob 2010-04-23 10:27:15 -04:00
  • 1dd27ce280 merge Benoit Jacob 2010-04-23 09:06:28 -04:00
  • f22ade8ee4 restrict operator[] to vectors, not matrices. Benoit Jacob 2010-04-23 09:05:46 -04:00
  • c29b431ad9 remove eigen_gen_credits script Benoit Jacob 2010-04-22 20:59:19 -04:00
  • 4502afeedf remove disabled/ directory. It's useless. It remains in the hg history anyways. Benoit Jacob 2010-04-22 20:56:33 -04:00
  • a4f9ca44ab add minor to Eigen2Support Benoit Jacob 2010-04-22 20:49:01 -04:00
  • 2362eadcdd remove Minor adapt 3x3 and 4x4 (non-SSE) inverse paths Benoit Jacob 2010-04-22 20:40:31 -04:00
  • abbe260905 remove USING_PART_OF_NAMESPACE_EIGEN, leaving it in Eigen2Support. improve porting-Eigen2-to-3 docs Benoit Jacob 2010-04-22 18:27:13 -04:00
  • ef789fe0d2 forgot to hg add... Benoit Jacob 2010-04-22 14:32:28 -04:00
  • bc22f4da9d * fix Eigen2Support, was not including VectorBlock.h * move the corners support stuff to a new Block.h there * expand the unit test Benoit Jacob 2010-04-22 14:31:39 -04:00
  • 00c716d20e merge Benoit Jacob 2010-04-22 14:11:44 -04:00
  • 9962c59b56 * implement the corner() API change: new methods topLeftCorner() etc * get rid of BlockReturnType: it was not needed, and code was not always using it consistently anyway * add topRows(), leftCols(), bottomRows(), rightCols() * add corners unit-test covering all of that * adapt docs, expand "porting from eigen 2 to 3" * adapt Eigen2Support Benoit Jacob 2010-04-22 14:11:18 -04:00
  • 27a4a748cb MSVC runs into problems when a forward declaration is using a different template type name than the actual declaration. This fixes the recent issues we observed on MSVC systems. Hauke Heibel 2010-04-22 13:56:06 +02:00
  • 28dde19e40 - Added problem size constructor to decompositions that did not have one. It preallocates member data structures. - Updated unit tests to check above constructor. - In the compute() method of decompositions: Made temporary matrices/vectors class members to avoid heap allocations during compute() (when dynamic matrices are used, of course). Adolfo Rodriguez Tsouroukdissian 2010-04-21 17:15:57 +02:00
  • faf8f7732d merge Benoit Jacob 2010-04-21 12:31:04 -04:00
  • e33953b888 fix compilation in Sparse (error introduced yesterday) Benoit Jacob 2010-04-21 12:28:51 -04:00
  • 2db5387488 Fixed two bad errors on std::vector. First, MSVC 2010 does not ship a 'fixed'/'adapted' STL. Second, only under very rare cases we do not even need the aligned_allocator. Hauke Heibel 2010-04-21 18:21:46 +02:00
  • 028bb7ea48 Changed the gdb display format of vectors and added support for quaternions. Daniel Lowengrub 2010-04-21 00:10:03 +03:00
  • 4ba032c9ab fix grave bug introduced by me: the low-level matrix-vector product functions can't be fed strided vectors, only strided matrices. Benoit Jacob 2010-04-20 15:59:17 -04:00
  • 941a7e4ebd oos, remove eval() used for debugging Benoit Jacob 2010-04-19 13:31:29 -04:00
  • 8d4b0aae04 Fix bug #93: add platform check for how to link to the standard math library. This allows to support QNX. Benoit Jacob 2010-04-19 11:30:46 -04:00
  • 84d1b2ae3a add platform check for how to link to the standard math library. This allows to support QNX. Benoit Jacob 2010-04-19 11:19:22 -04:00
  • 40b2aaa8b1 merge Benoit Jacob 2010-04-18 22:15:20 -04:00
  • 504a31f643 renaming (MatrixType ---> whatever appropriate) and documentation improvements Benoit Jacob 2010-04-18 22:14:55 -04:00
  • 34b14c48f3 shut up stupid gcc 4.5.0 warning Benoit Jacob 2010-04-18 22:14:03 -04:00
  • 29a3aec483 erf() is really non standard, better dont pollute eigen with it. Thomas Capricelli 2010-04-19 02:06:11 +02:00
  • 086d5f1ac6 Fixed indentation and removed debug code. Hauke Heibel 2010-04-18 20:16:39 +02:00
  • 214d5a892d Added support for STL lists with aligned Eigen types. Hauke Heibel 2010-04-18 20:10:43 +02:00
  • 031932b4ec Disabled erf also for Cygwin where it is not supported and causes errors. Hauke Heibel 2010-04-18 20:08:56 +02:00
  • 7db0f242ef Disabled unsupported erf on MSVC machines. Hauke Heibel 2010-04-18 14:37:44 +02:00
  • 63eaa8948e tests for nonlinear module : use different slots + misc cleaning Thomas Capricelli 2010-04-18 03:47:23 +02:00
  • f1deab0e5a introduce ei_erf() for various scalar type Thomas Capricelli 2010-04-18 03:39:22 +02:00
  • ce32f90fdd clarify help message about make install Benoit Jacob 2010-04-17 12:10:53 -04:00
  • ba5b5f6a4b fix compilation Benoit Jacob 2010-04-17 11:29:25 -04:00
  • cc33a56140 Added MSVC stack allocation support. Hauke Heibel 2010-04-17 16:08:17 +02:00
  • 0326a51f89 fix use of uninitialzed calues Gael Guennebaud 2010-04-17 05:23:23 +02:00