GooFit  v2.1.3
Public Member Functions | Public Attributes | List of all members
GooFit::strided_range< Iterator >::stride_functor Struct Reference

#include <DalitzPlotHelpers.h>

Inheritance diagram for GooFit::strided_range< Iterator >::stride_functor:

Public Member Functions

 stride_functor (difference_type stride)
 
__host__ __device__ difference_type operator() (const difference_type &i) const
 

Public Attributes

difference_type stride
 

Detailed Description

template<typename Iterator>
struct GooFit::strided_range< Iterator >::stride_functor

Definition at line 126 of file DalitzPlotHelpers.h.

Constructor & Destructor Documentation

◆ stride_functor()

template<typename Iterator >
GooFit::strided_range< Iterator >::stride_functor::stride_functor ( difference_type  stride)
inline

Definition at line 129 of file DalitzPlotHelpers.h.

Member Function Documentation

◆ operator()()

template<typename Iterator >
__host__ __device__ difference_type GooFit::strided_range< Iterator >::stride_functor::operator() ( const difference_type i) const
inline

Definition at line 132 of file DalitzPlotHelpers.h.

132 { return stride * i; }

Member Data Documentation

◆ stride

template<typename Iterator >
difference_type GooFit::strided_range< Iterator >::stride_functor::stride

Definition at line 127 of file DalitzPlotHelpers.h.


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