Eigen::internal::h_array_reduce< Reducer, T, N, n > Struct Template Reference

#include <MoreMeta.h>

Static Public Member Functions

constexpr static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE auto run (array< T, N > arr, T identity) -> decltype(Reducer::run(h_array_reduce< Reducer, T, N, n - 1 >::run(arr, identity), array_get< n >(arr)))
 

Member Function Documentation

◆ run()

template<typename Reducer , typename T , std::size_t N, std::size_t n = N - 1>
constexpr static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE auto Eigen::internal::h_array_reduce< Reducer, T, N, n >::run ( array< T, N arr,
T  identity 
) -> decltype(Reducer::run(h_array_reduce<Reducer, T, N, n - 1>::run(arr, identity), array_get<n>(arr)))
inlinestaticconstexpr
467  {
468  return Reducer::run(h_array_reduce<Reducer, T, N, n - 1>::run(arr, identity), array_get<n>(arr));
469  }
constexpr static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE auto run(array< T, N > arr, T identity) -> decltype(Reducer::run(h_array_reduce< Reducer, T, N, n - 1 >::run(arr, identity), array_get< n >(arr)))
Definition: MoreMeta.h:466
void run(const string &dir_name, LinearSolver *linear_solver_pt, const unsigned nel_1d, bool mess_up_order)
Definition: two_d_poisson_compare_solvers.cc:317

References run().

Referenced by Eigen::internal::array_reduce().


The documentation for this struct was generated from the following file: