[eigen-commits] commit/eigen: 5 new changesets |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen-commits Archives
]
5 new commits in eigen:
https://bitbucket.org/eigen/eigen/commits/e6ea6052f066/
Changeset: e6ea6052f066
User: chris-se
Date: 2014-06-04 18:31:02
Summary: Fix compilation for CXX11/Tensor module if unsupported is not in include path
Affected #: 2 files
https://bitbucket.org/eigen/eigen/commits/64fb6be8aea5/
Changeset: 64fb6be8aea5
User: chris-se
Date: 2014-06-04 18:47:42
Summary: unsupported/ C++11 workarounds: don't use hack for libc++ if not required
libc++ from 3.4 onwards supports constexpr std::get, but only if
compiled with -std=c++1y. Change the detection so that libc++'s
internals are only used if either -std=c++1y is not specified or the
library is too old, making the whole hack a bit more future-proof.
Affected #: 1 file
https://bitbucket.org/eigen/eigen/commits/772e5cb653f7/
Changeset: 772e5cb653f7
User: chris-se
Date: 2014-06-04 19:54:22
Summary: unsupported/CXX11/Core: allow gen_numeric_list to have a starting point
Add a template parameter to gen_numeric_list that acts as a starting
point for the list, i.e. gen_numeric_list<int, 5, 4> will generate a
numeric_list<int, 4, 5, 6, 7, 8>.
Affected #: 2 files
https://bitbucket.org/eigen/eigen/commits/22b103940615/
Changeset: 22b103940615
User: chris-se
Date: 2014-06-04 20:27:42
Summary: unsupported/TensorSymmetry: make symgroup construction autodetect number of indices
When constructing a symmetry group, make the code automatically detect
the number of indices required from the indices of the group's
generators. Also, allow the symmetry group to be applied to lists of
indices that are larger than the number of indices of the symmetry
group.
Before:
SGroup<4, Symmetry<0, 1>, Symmetry<2,3>> group;
group.apply<SomeOp, int>(std::array<int,4>{{0, 1, 2, 3}}, 0);
After:
SGroup<Symmetry<0, 1>, Symmetry<2,3>> group;
group.apply<SomeOp, int>(std::array<int,4>{{0, 1, 2, 3}}, 0);
group.apply<SomeOp, int>(std::array<int,5>{{0, 1, 2, 3, 4}}, 0);
This should make the symmetry group easier to use - especially if one
wants to reuse the same symmetry group for different tensors of maybe
different rank.
static/runtime asserts remain for the case where the length of the
index list to which a symmetry group is to be applied is too small.
Affected #: 4 files
https://bitbucket.org/eigen/eigen/commits/f5187dea054a/
Changeset: f5187dea054a
User: chris-se
Date: 2014-06-04 20:44:22
Summary: unsupported/TensorSymmetry: factor out completely from Tensor module
Remove the symCoeff() method of the the Tensor module and move the
functionality into a new operator() of the symmetry classes. This makes
the Tensor module now completely self-contained without symmetry
support (even though previously it was only a forward declaration and a
otherwise harmless trivial templated method) and also removes the
inconsistency with the rest of eigen w.r.t. the method's naming scheme.
Affected #: 5 files
Repository URL: https://bitbucket.org/eigen/eigen/
--
This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.