Registered Member
|
Hi,
A while back there was some code posted for doing logical operations on matrices, but I can't get it to work on eigen 3.1.2 on OSX 10.7.5: test.cpp:
Compilation fails:
Any ideas? Thanks. |
Registered Member
|
These coefficient-wise operators only work on arrays, not matrices. You can get an array view using the array() method:
For a list of all supported opeators, see http://eigen.tuxfamily.org/dox/QuickRefPage.html#QuickRef_Coeffwise |
Registered Member
|
Registered users: Bing [Bot], Google [Bot], Sogou [Bot], Yahoo [Bot]