NVBIO
|
#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 |
|
inline |
|
inline |
|
inline |
|
inline |