aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/array.cpp
Commit message (Collapse)AuthorAge
* Fixed division by zero corner case in array unit test.Gravatar Hauke Heibel2012-03-09
|
* rm cC++11 featuresGravatar Gael Guennebaud2012-03-09
|
* Added support for component-wise pow (equivalent to Matlab's operator .^).Gravatar Hauke Heibel2012-03-07
|
* Added support for scalar / array division.Gravatar Hauke Heibel2012-03-02
|
* added functions to allow for cwise min/max operations with scalar argument ↵Gravatar Abraham Bachrach2012-01-11
| | | | | | | | | | | | (bug #400). added function for array.min(), array.max(), matrix.cwiseMin(), matrix.cwiseMax(). The matrix.cwiseMin/Max functions required the definition of the ConstantReturnType typedef. However, it wasn't defined until after MatrixCwiseBinaryOps was included in Eigen/src/SparseCore/SparseMatrixBase.h, so I moved those includes after the definition of the typedefs. tests for both the regular and scalar min/max functions were added as well
* add the possibility to configure the maximal matrix size in the unit testsGravatar Gael Guennebaud2011-07-12
|
* add boolean || and && operatorsGravatar Gael Guennebaud2011-05-31
|
* Add test for sqrt() on complex Arrays.Gravatar Jitse Niesen2011-05-09
| | | | | From Gael's dashboard output of matrix_square_root test, I suspect the test committed here may fail on old gcc.
* typoGravatar Gael Guennebaud2011-02-17
|
* factorize implementation of standard real unary math functions, and add ↵Gravatar Gael Guennebaud2011-02-17
| | | | acos, asin
* add global tan functionGravatar Gael Guennebaud2011-02-03
|
* Re-enabled the missing tests, again...Gravatar Hauke Heibel2010-12-16
|
* Improved the array unit test - internal::isApprox needs to use the same ↵Gravatar Hauke Heibel2010-12-16
| | | | | | precision as VERIFY_IS_NOT_APPROX. Removed debug code from test_isApprox.
* Uups - re-enabled subtests 1 to 5.Gravatar Hauke Heibel2010-12-16
|
* Fixed compound subtraction in ArrayBase where the assignment needs to be ↵Gravatar Hauke Heibel2010-12-16
| | | | | | carried out on the derived type. Added unit tests for map based component wise arithmetic.
* Initial fixes for bug #85.Gravatar Hauke Heibel2010-10-25
| | | | | | | Renamed meta_{true|false} to {true|false}_type, meta_if to conditional, is_same_type to is_same, un{ref|pointer|const} to remove_{reference|pointer|const} and makeconst to add_const. Changed boolean type 'ret' member to 'value'. Changed 'ret' members refering to types to 'type'. Adapted all code occurences.
* bug #86 : use internal:: namespace instead of ei_ prefixGravatar Benoit Jacob2010-10-25
|
* email changeGravatar Gael Guennebaud2010-06-24
|
* Fix compilation of some tests as well as more warnings.Gravatar Hauke Heibel2010-06-20
|
* Utilize Index in all unit tests.Gravatar Hauke Heibel2010-06-20
|
* add missing support for std::pow(array,scalar)Gravatar Gael Guennebaud2010-06-19
|
* implicit conversion to scalar for inner productGravatar Gael Guennebaud2010-06-02
|
* the Index types change.Gravatar Benoit Jacob2010-05-30
| | | | As discussed on the list (too long to explain here).
* * kill the retval typedefs, instead introduce ei_xxx_retval which does the ↵Gravatar Benoit Jacob2010-04-28
| | | | | | | | 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
* 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.
* add support for global math function for arrayGravatar Gael Guennebaud2010-01-27
|
* Remove some Array #includes.Gravatar Jitse Niesen2010-01-21
|
* add unit tests for true array objectsGravatar Gael Guennebaud2010-01-18
|
* s/asMatrix()/matrix()Gravatar Gael Guennebaud2010-01-04
|
* a lot of cleaning and fixesGravatar Gael Guennebaud2009-12-16
|
* Another big refactoring change:Gravatar Gael Guennebaud2009-11-18
| | | | | | * add a new Eigen2Support module including Cwise, Flagged, and some other deprecated stuff * add a few cwiseXxx functions * adapt a few modules to use cwiseXxx instead of the .cwise() prefix
* 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
* Set of fixes and workaround to make sun studio more happy.Gravatar Gael Guennebaud2009-07-10
| | | | Still remains the problem of alignment and vectorization.
* * rename PartialRedux to VectorwiseOpGravatar Gael Guennebaud2009-06-10
| | | | * add VectorwiseOp's +, -, +=, -= operators
* 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?
* fix msvc warnings (useful ones again) reported by gael on CDashGravatar Benoit Jacob2009-01-26
|
* add partial count redux (adapted patch from Ricard Marxer)Gravatar Gael Guennebaud2009-01-24
|
* add lpNorm<p>() method to MatrixBase, implemented in Array module, withGravatar Benoit Jacob2008-11-03
| | | | specializations for cases p=1,2,Eigen::Infinity.
* Add coeff-wise comparisons to scalar operators. You can now write:Gravatar Gael Guennebaud2008-09-03
| | | | | | mat.cwise() < 2 instead of: mat.cwise() < MatrixType::Constant(mat.rows(), mat.cols(), 2)
* Add a Select expression in the Array module which mimics a coeff-wise ?: ↵Gravatar Gael Guennebaud2008-09-03
| | | | | | | | operator. Example: mat = (mat.cwise().abs().cwise() < Ones()).select(0,mat); replaces all small values by 0. (the scalar version is "s = abs(s)<1 ? 0 : s")
* 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.
* * bug fixes in: Dot, generalized eigen problem, singular matrix detetection ↵Gravatar Gael Guennebaud2008-08-23
| | | | | | | in Cholesky * fix all numerical instabilies in the unit tests, now all tests can be run 2000 times with almost zero failures.
* * 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.
* Added MatrixBase::Unit*() static function to easily create unit/basis vectors.Gravatar Gael Guennebaud2008-07-19
| | | | | | | Removed EulerAngles, addes typdefs for Quaternion and AngleAxis, and added automatic conversions from Quaternion/AngleAxis to Matrix3 such that: Matrix3f m = AngleAxisf(0.2,Vector3f::UnitX) * AngleAxisf(0.2,Vector3f::UnitY); just works.
* the big Array/Cwise rework as discussed on the mailing list. The new APIGravatar Benoit Jacob2008-07-08
| | | | can be seen in Eigen/src/Core/Cwise.h.
* forgot to add the unit test array.cppGravatar Gael Guennebaud2008-06-21