aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/basicstuff.cpp
Commit message (Collapse)AuthorAge
* 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
|
* add matrix constructor taking an array. update unit-tests.Gravatar Benoit Jacob2007-12-18
|
* -add Ones, DiagonalMatrix, DiagonalCoeffsGravatar Benoit Jacob2007-12-15
| | | | | -expand and improve unit-tests -various renaming and improvements
* expand unit-tests and fix const-qualifaction bugs thus discoveredGravatar Benoit Jacob2007-12-12
|
* Expand and improve unit-testsGravatar Benoit Jacob2007-12-11
|
* rename Block to DynBlock and rework API to make place forGravatar Benoit Jacob2007-12-05
| | | | upcoming fixed-size Block matrix. Also some cleanup.
* Rework the unit-tests to use lower precision, so as to eliminateGravatar Benoit Jacob2007-12-03
| | | | false positives. Also some cleanup in the fuzzy compares.
* Test application now takes 'seed' and 'repeat' command-line argsGravatar Benoit Jacob2007-12-03
|
* Much more convenient, less over-engineered NumTraits. Done during this ↵Gravatar Benoit Jacob2007-12-02
| | | | KDE-Edu weekend.
* add more unit-tests (covering transpose, conjugate, adjoint, dot product...)Gravatar Benoit Jacob2007-11-28
|
* rename Object -> MatrixBaseGravatar Benoit Jacob2007-11-27
|
* - improve and comment the "BasicStuff" test.Gravatar Benoit Jacob2007-11-26
| | | | | - adjust behavior of Matrix(int,int) constructor - s/EI_/EIGEN_/
* Merge WrapArray into FromArray. Less code. The downside is that we're using ↵Gravatar Benoit Jacob2007-10-14
| | | | | | | | | | | one more const_cast. But I think that anyway trying to maintain const strictness in Eigen2 is not worth the hassle. Konstantin: so the code snippet I sent you won't work anymore, replace wrapArray with fromArray. CCMAIL:konst.heil@stud.uni-heidelberg.de
* restrict identity() to square matrices; small change helping g++ optimize.Gravatar Benoit Jacob2007-10-14
|
* add zero() and identity() static methods, update unit-testsGravatar Benoit Jacob2007-10-14
|
* remove support for type std::complex<int>. Simplify NumTraits accordingly.Gravatar Benoit Jacob2007-10-14
|
* implement the first _real_ unit-tests, testing the results for correctness ↵Gravatar Benoit Jacob2007-10-13
instead of just checking compilation. Fix the many issues discovered by these unit-tests, by the way fixing a performance bug.