[eigen] Scalar operation

[ Thread Index | Date Index | More lists.tuxfamily.org/eigen Archives ]


Hi,

What is the recommended way to perform Y = a * X + b ? where a and b are scalars and X is Matrix or Vector. Now I use unaryExpr, but think that it is odd.




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/