|Re: [eigen] operator== (and probably others) for 0-sized Eigen-types|
[ Thread Index |
| More lists.tuxfamily.org/eigen Archives
+1 for this identity-based behavior.
It's the only way to make them consistent under
On 11/11/13, 6:08 PM, Gael Guennebaud wrote:
On Mon, Nov 11, 2013 at 11:59 PM, Gael Guennebaud <gael.guennebaud@xxxxxxxxx <mailto:gael.guennebaud@xxxxxxxxx>> wrote:
One option could be to make .all() and .any() returns the identity element of the operators && and || respectively,
i.e., true and false.
this is what octave/matlab do:
octave:6> A = 
A = (0x0)
ans = 0
ans = 1