Registered Member
|
bsxfun is a matlab function that allows me to multiply each value in a column by a single values, stored in a seperate vector as shown above. I'm trying to work out the equivelent way of doing this in Eigen and cant seem to find anything in the documentation. Any suggestions? Thanks Rory |
Moderator
|
this is a diagonal-matrix product:
A * v.asDiagonal() |
Registered Member
|
Registered users: Baidu [Spider], Bing [Bot], Google [Bot], rblackwell