Registered Member
|
Dear all,
can Eigen deduce its (optimal) return type? Assume the following code
In the last line, does the expression tmp contain all information to deduce the (optimal/natural) resulting type? Best regards, Matthias |
Moderator
|
I'm not sure to understand your question, but tmp knows that it best evaluate to a Array<double,20,1> as available by decltype(tmp)::PlainObject which is also the return type of tmp.eval().
|
Registered Member
|
This is exactly the function I was looking for. Thank's a lot. |
Registered users: Bing [Bot], Evergrowing, Google [Bot], rockscient