NVBIO
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Public Methods | Public Members | List of all members
nvbio::priv::add_divide_functor Struct Reference

Detailed description

A functor dividing all integers by the given constant

Definition at line 198 of file sufsort_priv.h.

#include <sufsort_priv.h>

Public Types

typedef uint32 argument_type
 
typedef uint32 result_type
 

Public Methods

NVBIO_FORCEINLINE NVBIO_HOST_DEVICE add_divide_functor (const uint32 _a, const uint32 _k)
 
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE uint32 
operator() (const uint32 i) const
 

Public Members

const uint32 a
 
const uint32 k
 

Member Typedef Documentation

Definition at line 200 of file sufsort_priv.h.

Definition at line 201 of file sufsort_priv.h.

Constructor & Destructor Documentation

NVBIO_FORCEINLINE NVBIO_HOST_DEVICE nvbio::priv::add_divide_functor::add_divide_functor ( const uint32  _a,
const uint32  _k 
)
inline

constructor

Definition at line 206 of file sufsort_priv.h.

Member Function Documentation

NVBIO_FORCEINLINE NVBIO_HOST_DEVICE uint32 nvbio::priv::add_divide_functor::operator() ( const uint32  i) const
inline

return the length of the i-th string

Definition at line 211 of file sufsort_priv.h.

Member Data Documentation

const uint32 nvbio::priv::add_divide_functor::a

Definition at line 213 of file sufsort_priv.h.

const uint32 nvbio::priv::add_divide_functor::k

Definition at line 214 of file sufsort_priv.h.


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