43 #ifndef RTOPPACK_ROP_NORMINF_HPP 44 #define RTOPPACK_ROP_NORMINF_HPP 46 #include "RTOpPack_RTOpTHelpers.hpp" 68 typename ScalarTraits<Scalar>::magnitudeType,
72 typedef ScalarTraits<Scalar> ST;
73 reduct = std::max(reduct, ST::magnitude(v0));
80 #endif // RTOPPACK_ROP_NORMINF_HPP RTOP_ROP_1_REDUCT_SCALAR(ROpCountNanInf, index_type, REDUCT_TYPE_SUM)
Reduction operator that counts the number of entries that are NaN or Inf.