/external/eigen/unsupported/Eigen/CXX11/src/util/ |
CXX11Meta.h | 295 struct product_op { struct in namespace:Eigen::internal 323 constexpr inline decltype(reduce<product_op, Ts...>::run((*((Ts*)0))...)) arg_prod(Ts... ts) 325 return reduce<product_op, Ts...>::run(ts...); 397 EIGEN_DEVICE_FUNC constexpr inline auto array_prod(const array<T, N>& arr) -> decltype(array_reduce<product_op, T, N>(arr, static_cast<T>(1))) 399 return array_reduce<product_op, T, N>(arr, static_cast<T>(1));
|
EmulateCXX11Meta.h | 215 struct product_op { struct in namespace:Eigen::internal
|
/external/eigen/unsupported/test/ |
cxx11_meta.cpp | 38 using Eigen::internal::product_op; 319 VERIFY((array_zip<product_op>(a, b) == d)); 323 VERIFY_IS_EQUAL((array_zip_and_reduce<product_op, sum_op>(a, b)), 14755932); 324 VERIFY_IS_EQUAL((array_zip_and_reduce<sum_op, product_op>(a, b)), 388);
|