This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Reshaped expression class

Tags: None
(comma "," separated)
plistov
Registered Member
Posts
2
Karma
0

Reshaped expression class

Mon Jul 27, 2020 5:06 pm
Dear community,

I noticed that starting from the release 3.4 the 'Reshaped' class is added to Eigen. I currently use the Map workaround to reshape matrices and would have a couple of questions:
1. What is the key advantage compared to Eigen::Map for static and dynamic matrices?
2. I understand that Eigen 3.4 is not really fully released at the moment. I, therefore, tried to borrow the 'Reshaped' class to my local project by copying the definition and forward declaring it in my project (until it gets to Ubuntu repos of course). This, however, did not work. I looked for the right ways of adding custom expressions and plugins in documentation but still lack understanding of how it works exactly. Could someone please give me a clue on how to add it?

Thanks,
Peter


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Google [Bot], Yahoo [Bot]