Eigen::internal::ReduceBlock< Self, Vectorize, Parallel > Struct Template Reference

#include <TensorScan.h>

Public Member Functions

EIGEN_STRONG_INLINE void operator() (Self &self, Index idx1, typename Self::CoeffReturnType *data)
 

Member Function Documentation

◆ operator()()

template<typename Self , bool Vectorize, bool Parallel>
EIGEN_STRONG_INLINE void Eigen::internal::ReduceBlock< Self, Vectorize, Parallel >::operator() ( Self &  self,
Index  idx1,
typename Self::CoeffReturnType *  data 
)
inline
146  {
147  for (Index idx2 = 0; idx2 < self.stride(); idx2++) {
148  // Calculate the starting offset for the scan
149  Index offset = idx1 + idx2;
150  ReduceScalar(self, offset, data);
151  }
152  }
int data[]
Definition: Map_placement_new.cpp:1
EIGEN_STRONG_INLINE void ReduceScalar(Self &self, Index offset, typename Self::CoeffReturnType *data)
Definition: TensorScan.h:77
EIGEN_DEFAULT_DENSE_INDEX_TYPE Index
The Index type as used for the API.
Definition: Meta.h:83

References data, and Eigen::internal::ReduceScalar().


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