tatami
C++ API for different matrix representations
|
Delayed unary isometric boolean cast. More...
#include <boolean_helpers.hpp>
Delayed unary isometric boolean cast.
This class casts each element of a Matrix
to a boolean 1 or 0, equivalent to the old !!
trick. It should be used as the Operation_
in the DelayedUnaryIsometricOperation
class. It may be used regardless of whether InputValue_
and OutputValue_
are equal (or not).