aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/basicstuff.cpp
Commit message (Collapse)AuthorAge
* Update basicstuff unit test to avoid instantiating the ambiguous sqrt(int)Gravatar Gael Guennebaud2013-02-14
|
* Automatic relicensing to MPL2 using Keirs script. Manual fixup follows.Gravatar Benoit Jacob2012-07-13
|
* Fix some unused-variable warnings with GCC 4.6Gravatar Benoit Jacob2011-10-30
|
* add the possibility to configure the maximal matrix size in the unit testsGravatar Gael Guennebaud2011-07-12
|
* fix unit tests for integer types in preparation for next changeset making ↵Gravatar Benoit Jacob2011-02-07
| | | | random<int> span over a much bigger range
* Added unit test for matrix creation from const raw data.Gravatar Hauke Heibel2010-12-15
|
* bug #86 : use internal:: namespace instead of ei_ prefixGravatar Benoit Jacob2010-10-25
|
* noalias was wrongly skipping automatic transpositionGravatar Gael Guennebaud2010-09-02
|
* More Index related stuff.Gravatar Hauke Heibel2010-06-21
|
* Utilize Index in all unit tests.Gravatar Hauke Heibel2010-06-20
|
* Make test slightly fuzzy to account for effect of extended precision.Gravatar Jitse Niesen2010-06-10
|
* fix compilation error thanks to test case by Trevor Irons, and expand unit testGravatar Benoit Jacob2010-05-09
|
* introduce DenseCoeffsBase: this is where the coeff / coeffRef / etc... ↵Gravatar Benoit Jacob2010-05-08
| | | | | | 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.
* Complete rework of global math functions and NumTraits.Gravatar Benoit Jacob2010-04-28
| | | | | | | | * 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.
* restrict operator[] to vectors, not matrices.Gravatar Benoit Jacob2010-04-23
|
* * Refactoring of the class hierarchy: introduction of DenseDirectAccessBase, ↵Gravatar Benoit Jacob2010-04-16
| | | | | | | | | removal of extra _Base/_Options template parameters. * Introduction of strides-at-compile-time so for example the optimized code really knows when it needs to evaluate to a temporary * StorageKind / XprKind * Quaternion::setFromTwoVectors: use JacobiSVD instead of SVD * ComplexSchur: support the 1x1 case
* unit tests for == / != operatorsGravatar Thomas Capricelli2010-01-17
|
* big huge changes, so i dont remember everything.Gravatar Benoit Jacob2009-10-28
| | | | | | | | | | * renaming, e.g. LU ---> FullPivLU * split tests framework: more robust, e.g. dont generate empty tests if a number is skipped * make all remaining tests use that splitting, as needed. * Fix 4x4 inversion (see stable branch) * Transform::inverse() and geo_transform test : adapt to new inverse() API, it was also trying to instantiate inverse() for 3x4 matrices. * CMakeLists: more robust regexp to parse the version number * misc fixes in unit tests
* * add serious unit test for swapGravatar Benoit Jacob2009-09-02
| | | | * fix my stupidity in Matrix::swap()
* Set of fixes and workaround to make sun studio more happy.Gravatar Gael Guennebaud2009-07-10
| | | | Still remains the problem of alignment and vectorization.
* mergeGravatar Benoit Jacob2009-05-22
|\
| * remove sentence "Eigen itself is part of the KDE project."Gravatar Benoit Jacob2009-05-22
| | | | | | | | it never made very precise sense. but now does it still make any?
* | * add a writable generic coeff wise expression (CwiseUnaryView)Gravatar Gael Guennebaud2009-05-20
|/ | | | * add writable .real() and .imag() functions
* gni, forgot to call the new subtestGravatar Benoit Jacob2009-04-29
|
* add cast<>() tests. including a vectorization_logic test that currently ↵Gravatar Benoit Jacob2009-04-29
| | | | fails (casting to same type should not prevent vectorization)
* now these tests succeed with 10,000 repeatsGravatar Benoit Jacob2009-01-27
|
* * remove set(), revert to old behavior where = resizesGravatar Benoit Jacob2009-01-21
| | | | | | | | | | * try to be clever in matrix ctors and operator=: be lazy when we can, always allow to copy rowvector into columnvector, check the template parameters, try to factor the code better * add missing copy ctor in UnalignedType * fix bug in the traits of DiagonalProduct * renaming: EIGEN_TUNE_FOR_CPU_CACHE_SIZE * update the dox a little
* Update e-mail addressGravatar Benoit Jacob2008-11-24
|
* As discussed on ML:Gravatar Gael Guennebaud2008-10-24
| | | | | | | | | | * remove the automatic resizing feature of operator = * add function Matrix::set() to be used when the previous behavior is wanted * the default constructor of dynamic-size matrices now creates a "null" matrix (data=0, rows = cols = 0) instead of a 1x1 matrix * fix UnixX typos ;)
* * fix issues with "long double" type (useful to enforce the use of x87 ↵Gravatar Gael Guennebaud2008-09-14
| | | | | | registers) * extend the documentation on "extending Eigen"
* if EIGEN_NICE_RANDOM is defined, the random functions will return numbers withGravatar Benoit Jacob2008-09-01
| | | | | | few bits left of the comma and for floating-point types will never return zero. This replaces the custom functions in test/main.h, so one does not anymore need to think about that when writing tests.
* * bugfix in SolveTriangular found by Timothy Hunter (did not compiled for ↵Gravatar Gael Guennebaud2008-08-22
| | | | | | | | very small fixed size matrices) * bugfix in Dot unroller * added special random generator for the unit tests and reduced the tolerance threshold by an order of magnitude this fixes issues with sum.cpp but other tests still failed sometimes, this have to be carefully checked...
* *add operator()(int) for vectors, synonymous to operator[](int).Gravatar Benoit Jacob2008-08-18
| | | | | | I don't see any reason not to allow it, it doesn't add much code, and it makes porting from eigen1 easier. *expand tests/basicstuff to first test coefficient access methods
* * Merge Extract and Part to the Part expression.Gravatar Gael Guennebaud2008-07-21
| | | | | | Renamed "MatrixBase::extract() const" to "MatrixBase::part() const" * Renamed static functions identity, zero, ones, random with an upper case first letter: Identity, Zero, Ones and Random.
* * fix compilation issue in ProductGravatar Gael Guennebaud2008-07-02
| | | | | * added some tests for product and swap * overload .swap() for dynamic-sized matrix of same size
* update of the testing framework:Gravatar Gael Guennebaud2008-05-22
| | | | | replaced the QTestLib framework my custom macros and a (optional) custom script to run the tests from ctest.
* Make use of the LazyBit, introduce .lazy(), remove lazyProduct.Gravatar Benoit Jacob2008-03-31
|
* * introducte recursive Flags system for the expressionsGravatar Benoit Jacob2008-03-30
| | | | | | -- currently 3 flags: RowMajor, Lazy and Large -- only RowMajor actually used for now * many minor improvements
* generalized ei_traits<>.Gravatar Benoit Jacob2008-03-12
| | | | | | Finally the importing macro is named EIGEN_BASIC_PUBLIC_INTERFACE because it does not only import the ei_traits, it also makes the base class a friend, etc.
* Extended the comma initializer to support xpr on the right side:Gravatar Gael Guennebaud2008-03-08
| | | | | | Matrix3i mat; Vector2i vec(33,66); mat << vec.transpose(), 99, vec, Matrix2i::random();
* * Added support for a comma initializer: mat.block(i,j,2,2) << 1, 2, 3, 4;Gravatar Gael Guennebaud2008-03-08
| | | | | | | | | | If the number of coefficients does not match the matrix size, then an assertion is raised. No support for xpr on the right side for the moment. * Added support for assertion checking. This allows to test that an assertion is indeed raised when it should be. * Fixed a mistake in the CwiseUnary example.
* * Fix a compilation issue with large fixed-size matrices: the unrollers ↵Gravatar Gael Guennebaud2008-03-05
| | | | | | were always instanciated. * the unrolling limits are configurable at compile time.
* Removed trailling spaces.Gravatar Gael Guennebaud2008-03-03
|
* Relicense --> dual-license LGPL3+/GPL2+Gravatar Benoit Jacob2008-02-28
|
* prefix global functions with ei_ as previous solution was ratherGravatar Benoit Jacob2008-02-28
| | | | fragile. also fix compilation with g++ 4.3.
* rework Identity API: no longer restricted to square matricesGravatar Benoit Jacob2008-01-11
|
* Ready for alpha2 release.Gravatar Benoit Jacob2008-01-07
| | | | | | - complete documentation - add TODO - update copyright years
* - move: DerivedTraits becomes MatrixBase::TraitsGravatar Benoit Jacob2008-01-06
| | | | | | - the static constants are private again in the Derived classes - more documentation and code snippets - new isDiagonal() method
* - eigen2 now fully enforces constness! found a way to achieve thatGravatar Benoit Jacob2007-12-25
| | | | | | | | with minimal code duplication. There now are only two (2) const_cast remaining in the whole source code. - eigen2 now fully allows copying a row-vector into a column-vector. added a unit-test for that. - split unit tests, improve docs, various improvements.
* split the coeffs accessors/mutators into a separate Coeffs.h fileGravatar Benoit Jacob2007-12-18
|