20 #include <tensor/indices.h>
24 template class Vector<bool>;
28 const ListGenerator<bool> bgen = {};
30 bool all_of(
const Booleans& b)
32 return std::count(b.begin_const(), b.end_const(),
true) == b.size();
35 bool any_of(
const Booleans& b)
37 return std::find(b.begin_const(), b.end_const(),
true) != b.end_const();