aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/mixingtypes.cpp
Commit message (Collapse)AuthorAge
* Eliminate mixingtypes_7 warning.Gravatar Antonio Sanchez2021-03-24
| | | | | | `g_called` is not used in subtest 7, so was generating a `-Wunneeded-internal-declaration` warnings. Here we silence it by initializing the static variable.
* DIsable static assertions only when necessary and disable double-promotion ↵Gravatar Christoph Hertzberg2018-07-26
| | | | warnings in that case as well
* Get rid of EIGEN_TEST_FUNC, unit tests must now be declared with ↵Gravatar Gael Guennebaud2018-07-17
| | | | | | | | | EIGEN_DECLARE_TEST(mytest) { /* code */ }. This provide several advantages: - more flexibility in designing unit tests - unit tests can be glued to speed up compilation - unit tests are compiled with same predefined macros, which is a requirement for zapcc
* Fixed bug which (extremely rarely) could end in an infinite loopGravatar Christoph Hertzberg2016-12-15
|
* Prevent division by zero.Gravatar Gael Guennebaud2016-07-07
|
* Fix compilation of some unit tests with msvcGravatar Gael Guennebaud2016-07-04
|
* Introduce a NumTraits<T>::Literal type to be used for literals, andGravatar Gael Guennebaud2016-06-23
| | | | | | | improve mixing type support in operations between arrays and scalars: - 2 * ArrayXcf is now optimized in the sense that the integer 2 is properly promoted to a float instead of a complex<float> (fix a regression) - 2.1 * ArrayXi is now forbiden (previously, 2.1 was converted to 2) - This mechanism should be applicable to any custom scalar type, assuming NumTraits<T>::Literal is properly defined (it defaults to T)
* Generalize expr/expr and scalar/expr wrt scalar types.Gravatar Gael Guennebaud2016-06-14
|
* Generalize expr.pow(scalar), pow(expr,scalar) and pow(scalar,expr).Gravatar Gael Guennebaud2016-06-14
| | | | Internal: scalar_pow_op (unary) is removed, and scalar_binary_pow_op is renamed scalar_pow_op.
* Implement expr+scalar, scalar+expr, expr-scalar, and scalar-expr as binary ↵Gravatar Gael Guennebaud2016-06-14
| | | | | | expressions, and generalize supported scalar types. The following functors are now deprecated: scalar_add_op, scalar_sub_op, and scalar_rsub_op.
* check for mixing types in "array / scalar" expressionsGravatar Gael Guennebaud2016-06-13
|
* Add real.pow(complex), complex.pow(real) unit tests.Gravatar Gael Guennebaud2016-06-10
|
* Disable shortcuts for res ?= prod when the scalar types do not match exactly.Gravatar Gael Guennebaud2016-06-06
|
* Relax mixing-type constraints for binary coefficient-wise operators:Gravatar Gael Guennebaud2016-06-06
| | | | | | | | | | - Replace internal::scalar_product_traits<A,B> by Eigen::ScalarBinaryOpTraits<A,B,OP> - Remove the "functor_is_product_like" helper (was pretty ugly) - Currently, OP is not used, but it is available to the user for fine grained tuning - Currently, only the following operators have been generalized: *,/,+,-,=,*=,/=,+=,-= - TODO: generalize all other binray operators (comparisons,pow,etc.) - TODO: handle "scalar op array" operators (currently only * is handled) - TODO: move the handling of the "void" scalar type to ScalarBinaryOpTraits
* Make EIGEN_HAS_STD_RESULT_OF user configurableGravatar Gael Guennebaud2016-05-20
|
* bug #1231: fix compilation regression regarding complex_array/=real_array ↵Gravatar Gael Guennebaud2016-05-18
| | | | and add respective unit tests
* Fix trmv for mixing types.Gravatar Gael Guennebaud2016-04-15
|
* Extend mixing type unit test with trmv, and the following not yet supported ↵Gravatar Gael Guennebaud2016-01-27
| | | | products: trmm, symv, symm
* Fix tri = complex * real product, and add respective unit test.Gravatar Gael Guennebaud2016-01-27
|
* Re-enable some invalid scalar type conversion checks by disabling explicit ↵Gravatar Gael Guennebaud2015-10-06
| | | | vectorization
* With C++11 Matrix<float> + Matrix<complex<float>> does not even compileGravatar Gael Guennebaud2015-02-20
|
* Remove deprecated code not used by evaluatorsGravatar Gael Guennebaud2014-09-18
|
* merge with default branchGravatar Gael Guennebaud2014-06-20
|\
| * Extend mixingtype unit test to check transposed cases.Gravatar Gael Guennebaud2014-04-17
| |
| * Enable repetition in mixing type unit testGravatar Gael Guennebaud2014-03-31
| |
* | Fix mixing scalar types with evaluatorsGravatar Gael Guennebaud2014-02-19
|/
* Automatic relicensing to MPL2 using Keirs script. Manual fixup follows.Gravatar Benoit Jacob2012-07-13
|
* add the possibility to configure the maximal matrix size in the unit testsGravatar Gael Guennebaud2011-07-12
|
* fix mixingtypes unit testGravatar Gael Guennebaud2011-01-27
|
* bug #86 : use internal:: namespace instead of ei_ prefixGravatar Benoit Jacob2010-10-25
|
* now that we properly support mixing real-complex: clean mixingtypes testGravatar Gael Guennebaud2010-07-22
|
* update mixing type testGravatar Gael Guennebaud2010-07-15
|
* email changeGravatar Gael Guennebaud2010-06-24
|
* fix compilation when default to row majorGravatar Gael Guennebaud2010-06-24
|
* fix array_comp *= array_realGravatar Gael Guennebaud2010-06-20
|
* fix compilationGravatar Gael Guennebaud2010-03-07
|
* fix compilationGravatar Benoit Jacob2010-03-02
|
* introduce check target, and some renamingGravatar Benoit Jacob2009-11-12
|
* 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
* uncomment stuff commented for debugging (sorry for the noise)Gravatar Gael Guennebaud2009-09-07
|
* * add real scalar * complex matrix, real matrix * complex scalar,Gravatar Gael Guennebaud2009-09-04
| | | | | and complex scalar * real matrix overloads * allows the inner and outer product specialisations to mix real and complex
* extend mixingtype test to check diagonal products and fix the later for ↵Gravatar Gael Guennebaud2009-09-04
| | | | real*complex products
* rename the EigenSolver module to EigenvaluesGravatar Gael Guennebaud2009-09-04
|
* update mixingtype unit test to reflect current status, but it is still clearGravatar Gael Guennebaud2009-09-03
| | | | we should allow matrix products between complex and real ?
* minor compilation fixes for Sun CC and ICCGravatar Gael Guennebaud2009-07-20
|
* 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?
* Sparse module: bugfix in SparseMatrix::resize(), now the indices areGravatar Gael Guennebaud2009-01-15
| | | | correctly initialized to 0.
* * In LU solvers: no need anymore to use row-major matricesGravatar Benoit Jacob2009-01-03
| | | | | | | | * Matrix: always inherit WithAlignedOperatorNew, regardless of vectorization or not * rename ei_alloc_stack to ei_aligned_stack_alloc * mixingtypes test: disable vectorization as SSE intrinsics don't allow mixing types and we just get compile errors there.
* * add unit-tests to check allowed and forbiddent mixing of different scalar ↵Gravatar Benoit Jacob2008-12-22
types * fix issues in Product revealed by this test * in Dot.h forbid mixing of different types (at least for now, might allow real.dot(complex) in the future).