NVBIO
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Methods | Public Members | List of all members
nvbio::Constant< T > Struct Template Reference

Detailed description

template< typename T>
struct nvbio::Constant< T >

constant functor

Definition at line 891 of file numbers.h.

#include <numbers.h>

Public Methods

NVBIO_FORCEINLINE NVBIO_HOST_DEVICE Constant (const T k)
 
template<typename U >
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE
operator() (const U x) const
 

Public Members

constm_k
 

Constructor & Destructor Documentation

template<typename T >
NVBIO_FORCEINLINE NVBIO_HOST_DEVICE nvbio::Constant< T >::Constant ( const k)
inline

Definition at line 894 of file numbers.h.

Member Function Documentation

template<typename T >
template<typename U >
NVBIO_FORCEINLINE NVBIO_HOST_DEVICE T nvbio::Constant< T >::operator() ( const x) const
inline

Definition at line 898 of file numbers.h.

Member Data Documentation

template<typename T >
const T nvbio::Constant< T >::m_k

Definition at line 900 of file numbers.h.


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