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::bowtie2::cuda::SimpleFunc Struct Reference

Detailed description

Definition at line 39 of file func.h.

#include <func.h>

Public Types

enum  Type { LinearFunc = 0, LogFunc = 1, SqrtFunc = 2 }
 

Public Methods

NVBIO_FORCEINLINE NVBIO_HOST_DEVICE SimpleFunc (const Type _type=LinearFunc, const float _k=0.0f, const float _m=1.0f)
 
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE int32 
operator() (const int32 x) const
 
const char * type_string () const
 
const char * type_symbol () const
 

Public Members

Type type
 
float k
 
float m
 

Member Enumeration Documentation

Enumerator
LinearFunc 
LogFunc 
SqrtFunc 

Definition at line 41 of file func.h.

Constructor & Destructor Documentation

NVBIO_FORCEINLINE NVBIO_HOST_DEVICE nvbio::bowtie2::cuda::SimpleFunc::SimpleFunc ( const Type  _type = LinearFunc,
const float  _k = 0.0f,
const float  _m = 1.0f 
)
inline

Definition at line 44 of file func.h.

Member Function Documentation

NVBIO_FORCEINLINE NVBIO_HOST_DEVICE int32 nvbio::bowtie2::cuda::SimpleFunc::operator() ( const int32  x) const
inline

Definition at line 47 of file func.h.

const char* nvbio::bowtie2::cuda::SimpleFunc::type_string ( ) const
inline

Definition at line 54 of file func.h.

const char* nvbio::bowtie2::cuda::SimpleFunc::type_symbol ( ) const
inline

Definition at line 60 of file func.h.

Member Data Documentation

float nvbio::bowtie2::cuda::SimpleFunc::k

Definition at line 68 of file func.h.

float nvbio::bowtie2::cuda::SimpleFunc::m

Definition at line 69 of file func.h.

Type nvbio::bowtie2::cuda::SimpleFunc::type

Definition at line 67 of file func.h.


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