Registered Member
|
Hi,
I have an N-Vector I want to get the N-1 vector that results from dividing each element by the last element (i.e. projecting the vector). I wanted to write a neat function for that:
My compiler doesn't accept this, stating argument 2 and 5 of the return type would be invalid. Removing the 'typename' makes the compiler complain about the missing 'typename' before accessing type members of template parameters. Is there a way to solve this in Eigen (without having to write N-1 functions...)? Thanks |
Registered Member
|
issue solved. The 2nd 'typename' was too much..
|
Registered users: bartoloni, Bing [Bot], Evergrowing, Google [Bot], q.ignora