|Re: [eigen] is MAP oneway ? (urgent)|
[ Thread Index |
| More lists.tuxfamily.org/eigen Archives
On 24 Jun, Benoit Jacob wrote:
> 2009/6/24 Helmut Jarausch <jarausch@xxxxxxxxxxxxxxxxxxx>:
>> Thanks, but unfortunately that raises another problem.
>> In "void process..." I have
>> DATA.segment<2>(ind)+= ...
>> DATA.start<2>()+= ...
>> which fails now.
> Ah yes, this is a c++ syntax weirdness that puzzles everyone. You have
> to add a "template" keyword after the dot:
> DATA.template segment<2>(ind)+= ...
Do you understand now that I prefer Python whenever possible?
(But, unfortunately, this time I need all the number crunching power of
C++ and Eigen)
Thanks a lot.
Perhaps sometime in the future there will be a document
"Snags and Pitfalls due to C++" when using Eigen.
Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany