Registered Member
|
Hello everyone,
I have to matrices I want to multiply element by element. The matrix A with dimensions 128x60 and the matrix B with dimensions is 7680x1 (as you might notice 7680=128x60). The thing is that when I do this in debug
An assert is raised saying the dimensions do not match. Digging on the web and having a look to eigen API I have found two possible solutions.
So my question is, Is there a more elegant way to achieve this?
Last edited by jsanz on Wed Sep 17, 2014 8:12 am, edited 1 time in total.
|
Moderator
|
No better solution yet, but at some point we should offer a reshape and 'view as vector' feature.
|
Registered Member
|
Good to know.
Thanks Gael for you quick answer. |
Registered users: Bing [Bot], claydoh, Google [Bot], rblackwell, Yahoo [Bot]