Re: [eigen] Matrix - Scalar CwiseUnaryOps |
[ Thread Index | Date Index | More lists.tuxfamily.org/eigen Archives ]
Hi, From a mathematical point of view a.M is defined but a+M is not... (a=scalar, M=Matrix). my 2 cents.. Thomas -- Thomas Capricelli <orzel@xxxxxxxxxxxxxxx> http://www.freehackers.org/thomas On Wednesday 04 May 2011 11:39:13 Hauke Heibel wrote: > Hi, > > I know that we have the array functionality for those operations but I > wonder whether we should enable +/- operations between matrices and > scalars. > > We already have * and / and thus I think it might make sense. It's > just for convenience and I have met quite a few occasions where this > feature would lead to shorter code. What do you think? > > - Hauke > > > |
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |