OpenCV  3.4.8
Open Source Computer Vision
Classes | Public Types | Static Public Member Functions | List of all members
cv::cudev::Sum< T > Struct Template Reference

#include <opencv2/cudev/grid/reduce_to_vec.hpp>

Inheritance diagram for cv::cudev::Sum< T >:
cv::cudev::plus< T > cv::cudev::binary_function< T, T, T >

Classes

struct  rebind
 

Public Types

typedef T work_type
 

Static Public Member Functions

__device__ static __forceinline__ T initialValue ()
 
__device__ static __forceinline__ T result (T r, int)
 

Additional Inherited Members

- Public Member Functions inherited from cv::cudev::plus< T >
__device__ __forceinline__ T operator() (typename TypeTraits< T >::parameter_type a, typename TypeTraits< T >::parameter_type b) const
 

Member Typedef Documentation

§ work_type

template<typename T >
typedef T cv::cudev::Sum< T >::work_type

Member Function Documentation

§ initialValue()

template<typename T >
__device__ static __forceinline__ T cv::cudev::Sum< T >::initialValue ( )
inlinestatic

§ result()

template<typename T >
__device__ static __forceinline__ T cv::cudev::Sum< T >::result ( r,
int   
)
inlinestatic

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