aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/Geometry/AlignedBox.h
Commit message (Collapse)AuthorAge
* Drop EIGEN_USING_STD_MATH in favour of EIGEN_USING_STDGravatar David Tellenbach2020-10-09
|
* Fix alignedbox 32-bit precision test failure.Gravatar Antonio Sanchez2020-09-30
| | | | | | | | | | | | | | | The current `test/geo_alignedbox` tests fail on 32-bit arm due to small floating-point errors. In particular, the following is not guaranteed to hold: ``` IsometryTransform identity = IsometryTransform::Identity(); BoxType transformedC; transformedC.extend(c.transformed(identity)); VERIFY(transformedC.contains(c)); ``` since `c.transformed(identity)` is ever-so-slightly different from `c`. Instead, we replace this test with one that checks an identity transform is within floating-point precision of `c`. Also updated the condition on `AlignedBox::transform(...)` to only accept `Affine`, `AffineCompact`, and `Isometry` modes explicitly. Otherwise, invalid combinations of modes would also incorrectly pass the assertion.
* Added AlignedBox::transform(AffineTransform).Gravatar Martin Pecka2020-09-28
|
* bug #1362: workaround constant conditional warning produced by MSVCGravatar Gael Guennebaud2016-12-20
|
* Adding EIGEN_DEVICE_FUNC in the Geometry module.Gravatar Robert Lukierski2016-10-12
| | | | | Additional CUDA necessary fixes in the Core (mostly usage of EIGEN_USING_STD_MATH).
* Implement scalar multiples and division by a scalar as a binary-expression ↵Gravatar Gael Guennebaud2016-06-14
| | | | | | | | | | | | with a constant expression. This slightly complexifies the type of the expressions and implies that we now have to distinguish between scalar*expr and expr*scalar to catch scalar-multiple expression (e.g., see BlasUtil.h), but this brings several advantages: - it makes it clear on each side the scalar is applied, - it clearly reflects that we are dealing with a binary-expression, - the complexity of the type is hidden through macros defined at the end of Macros.h, - distinguishing between "scalar op expr" and "expr op scalar" is important to support non commutative fields (like quaternions) - "scalar op expr" is now fully equivalent to "ConstantExpr(scalar) op expr" - scalar_multiple_op, scalar_quotient1_op and scalar_quotient2_op are not used anymore in officially supported modules (still used in Tensor)
* 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
* bug #1075: fix AlignedBox::sample for runtime dimensionGravatar Gael Guennebaud2015-09-30
|
* Fix usage of nested versus nested_evalGravatar Gael Guennebaud2015-06-19
|
* bug #999: clarify that behavior of empty AlignedBoxes is undefined, and ↵Gravatar Christoph Hertzberg2015-04-30
| | | | further improvements in documentation
* The usage of DenseIndex is deprecated, so let's replace DenseIndex by IndexGravatar Gael Guennebaud2015-02-16
|
* Remove deprecated code not used by evaluatorsGravatar Gael Guennebaud2014-09-18
|
* Fix numerous nested versus nested_eval shortcomingsGravatar Gael Guennebaud2014-08-01
|
* bug #502: add bool intersects() methods to AlignedBoxGravatar Sven Strothoff2013-07-28
|
* Remove meaningless explicit qualifierGravatar Gael Guennebaud2013-06-12
|
* Fix a couple of remaining warnings (missing newlines, inline-noinline, ↵Gravatar Gael Guennebaud2013-03-01
| | | | meaningless type qualifiers)
* bug #482: pass scalar arguments by const references. Still remains a few ↵Gravatar Gael Guennebaud2013-02-25
| | | | cases that might affect the ABI (see the bug entry)
* Fix bug #314:Gravatar Gael Guennebaud2012-11-06
| | | | | - remove most of the metaprogramming kung fu in MathFunctions.h (only keep functions that differs from the std) - remove the overloads for array expression that were in the std namespace
* Fix bug #519: AlignedBox::dim() was wrong for dynamic dimensionsGravatar Gael Guennebaud2012-10-24
|
* Automatic relicensing to MPL2 using Keirs script. Manual fixup follows.Gravatar Benoit Jacob2012-07-13
|
* Get rid of include directives inside namespace blocks (bug #339).Gravatar Jitse Niesen2012-04-15
|
* fix several const qualifier issues: double ones, meaningless ones, some ↵Gravatar Gael Guennebaud2012-02-03
| | | | | | missing ones, etc. (note that const qualifiers are set by internall::nested)
* bug #352:properly cast constantsGravatar Igor Krivenko2011-12-09
|
* [Geometry/AlignedBox] New typedefs, like for Core/MatrixGravatar Dennis Schridde2011-11-09
| | | | | Includes 1-4 and dynamic sized boxes for int, float and double type. Also changes the tests to use these typedefs.
* protect calls to min and max with parentheses to make Eigen compatible with ↵Gravatar Gael Guennebaud2011-07-21
| | | | | | | default windows.h (transplanted from 49b6e9143e1d74441924c0c313536e263e12a55c )
* const-qualify template parameters representing const arguments to expressions.Gravatar Benoit Jacob2011-01-24
| | | | needed to fix docs compile issue.
* bug #86 : use internal:: namespace instead of ei_ prefixGravatar Benoit Jacob2010-10-25
|
* Remove \nonstable yet. The stability rules for Eigen3 are much simpler:Gravatar Benoit Jacob2010-06-29
| | | | | - all what's not in unsupported/ is considered stable API (except internal stuff e.g. expression templates).
* email changeGravatar Gael Guennebaud2010-06-24
|
* the Index types change.Gravatar Benoit Jacob2010-05-30
| | | | As discussed on the list (too long to explain here).
* 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.
* fix compilation (cwise and epsilon)Gravatar Gael Guennebaud2010-02-11
|
* Improved patch from Manuel Yguel:Gravatar Gael Guennebaud2010-02-10
| | | | Enhance AlignedBox to accept integral types and add some usefull methods: diagonal, volume, sample.
* * move dummy_precision and epsilon to NumTraitsGravatar Gael Guennebaud2010-02-10
| | | | * make NumTraits inherits std::numeric_limits
* fix types of scalar constantsGravatar Gael Guennebaud2010-01-05
|
* merge with default branchGravatar Gael Guennebaud2009-12-22
|\
* | add a DenseBase class for MAtrixBase and ArrayBase and more code factorisationGravatar Gael Guennebaud2009-12-04
| |
| * precision ---> dummy_precisionGravatar Benoit Jacob2009-11-26
| |
* | 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
* 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?
* minor changes in AlignedBox needed for BVH moduleGravatar Gael Guennebaud2009-03-11
|
* fix duplicated geometry module in the docGravatar Gael Guennebaud2009-01-29
|
* * make std::vector specializations also for Transform and for QuaternionGravatar Benoit Jacob2009-01-12
| | | | | | | * update test_stdvector * Quaternion() does nothing (instead of bug) * update test_geometry * some renaming
* EIGEN_MAKE_ALIGNED_OPERATOR_NEW didn't actually need to get the classGravatar Benoit Jacob2009-01-08
| | | | name as parameter
* the big memory changes. the most important changes are:Gravatar Benoit Jacob2009-01-08
| | | | | | | ei_aligned_malloc now really behaves like a malloc (untyped, doesn't call ctor) ei_aligned_new is the typed variant calling ctor EIGEN_MAKE_ALIGNED_OPERATOR_NEW now takes the class name as parameter
* * introduce macros to replace inheritance for operator new overloadingGravatar Benoit Jacob2009-01-06
| | | | | | | | | (former solution still available and tested) This plays much better with classes that already have base classes -- don't force the user to mess with multiple inheritance, which gave much trouble with MSVC. * Expand the unaligned assert dox page * Minor fixes in the lazy evaluation dox page
* gaaaaaaaaaaaaaaaaaahGravatar Benoit Jacob2009-01-05
| | | | | | | can't believe that 3 people wasted so much time because of a missing & !!!!! and this time MSVC didn't catch it so it was really copying the vector on the stack at an unaligned location!
* inherit from ei_with_aligned_operator_new even with disabled vectorizationGravatar Armin Berres2009-01-05
|
* unless i find more failures in the tests, this will be beta3...Gravatar Benoit Jacob2008-12-22
| | | | | * fixes for mistakes (especially in the cast() methods in Geometry) revealed by the new "mixing types" test * dox love, including a section on coeff access in core and an overview in geometry
* doc: add a "non stable" warning for parts which are not partGravatar Gael Guennebaud2008-11-22
| | | | of the stable API yet and a couple of other minor doc updates...