I would like to do the boolean matrix plus. How could I do it in Eigen? My following example only gives a scalar +.
#include "Eigen/Dense"
#include <iostream>
using namespace std;
using namespace Eigen;
int main()
{
   Eigen::Matrix<bool, 4, 4> m;
   m << 0,1,1,1,
    1,0,1,0,
    1,1,0,0,
    1,1,1,0;
   cout << m + m;  //should be logical_and here
}
How could I use the logical_and here?
 
     
    