Go to the source code of this file.
◆ main()
Definition at line 4 of file Tutorial_ReductionsVisitorsBroadcasting_reductions_bool.cpp.
11 std::cout <<
"(a > 0).all() = " << (
a > 0).
all() << std::endl;
12 std::cout <<
"(a > 0).any() = " << (
a > 0).any() << std::endl;
13 std::cout <<
"(a > 0).count() = " << (
a > 0).count() << std::endl;
14 std::cout << std::endl;
15 std::cout <<
"(a > 2).all() = " << (
a > 2).
all() << std::endl;
16 std::cout <<
"(a > 2).any() = " << (
a > 2).any() << std::endl;
17 std::cout <<
"(a > 2).count() = " << (
a > 2).count() << std::endl;
General-purpose arrays with easy API for coefficient-wise operations.
static const Eigen::internal::all_t all