Re: [eigen] Scalar operation |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
Am 09.02.2015 um 18:00 schrieb Chen-Pang He:
Addition between a matrix and a scalar is invalid. I'd write
Y.array() = a * X.array() + b;
You are right, sorry for missing the obvious ...
--
----------------------------------------------
Dipl.-Inf., Dipl.-Math. Christoph Hertzberg
Cartesium 0.049
Universität Bremen
Enrique-Schmidt-Straße 5
28359 Bremen
Tel: +49 (421) 218-64252
----------------------------------------------