Hi,
after having opened the ticket a while ago
(
https://github.com/juanjosegarciaripoll/tensor/issues/3), I finally
came round to actually patching this. So attached is a patch with three
main items:
1. Added functions all_of, any_of and none_of to be used with Booleans
(the names actually mimic new algorithm functions in C++11). While I
was at this, I also added a logical or.
2. Added a test of all Boolean functions.
3. While writing the test, I noticed why I tend to like test-driven
development: There were some bugs in the logical and and logical not.
Also added some asserts to catch errors.
Ulf