NVBIO
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Namespaces | Functions
static_vector.h File Reference
#include <nvbio/basic/types.h>
#include <nvbio/basic/numbers.h>
#include <cmath>
#include <limits>
#include <nvbio/basic/static_vector_inl.h>

Go to the source code of this file.

Classes

struct  nvbio::StaticVectorBase< T, DIM >
 
struct  nvbio::StaticVectorBase< T, 2 >
 
struct  nvbio::StaticVectorBase< T, 3 >
 
struct  nvbio::StaticVectorBase< T, 4 >
 
struct  nvbio::StaticVector< T, DIM >
 
struct  nvbio::vector_traits< StaticVectorBase< T, DIM_T > >
 

Namespaces

 nvbio
 Define a vector_view POD type and plain_view() for std::vector.
 

Functions

template<typename T , uint32 DIM>
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE StaticVector
< T, DIM > 
nvbio::operator+ (const StaticVector< T, DIM > &op1, const StaticVector< T, DIM > &op2)
 
template<typename T , uint32 DIM>
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE StaticVector
< T, DIM > & 
nvbio::operator+= (StaticVector< T, DIM > &op1, const StaticVector< T, DIM > &op2)
 
template<typename T , uint32 DIM>
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE StaticVector
< T, DIM > 
nvbio::operator- (const StaticVector< T, DIM > &op1, const StaticVector< T, DIM > &op2)
 
template<typename T , uint32 DIM>
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE StaticVector
< T, DIM > & 
nvbio::operator-= (StaticVector< T, DIM > &op1, const StaticVector< T, DIM > &op2)
 
template<typename T , uint32 DIM>
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE StaticVector
< T, DIM > 
nvbio::operator* (const StaticVector< T, DIM > &op1, const StaticVector< T, DIM > &op2)
 
template<typename T , uint32 DIM>
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE StaticVector
< T, DIM > & 
nvbio::operator*= (StaticVector< T, DIM > &op1, const StaticVector< T, DIM > &op2)
 
template<typename T , uint32 DIM>
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE StaticVector
< T, DIM > 
nvbio::operator/ (const StaticVector< T, DIM > &op1, const StaticVector< T, DIM > &op2)
 
template<typename T , uint32 DIM>
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE StaticVector
< T, DIM > & 
nvbio::operator/= (StaticVector< T, DIM > &op1, const StaticVector< T, DIM > &op2)
 
template<typename T , uint32 DIM>
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE StaticVector
< T, DIM > 
nvbio::min (const StaticVector< T, DIM > &op1, const StaticVector< T, DIM > &op2)
 
template<typename T , uint32 DIM>
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE StaticVector
< T, DIM > 
nvbio::max (const StaticVector< T, DIM > &op1, const StaticVector< T, DIM > &op2)
 
template<typename T , uint32 DIM>
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE bool 
nvbio::any (const StaticVector< T, DIM > &op)
 
template<typename T , uint32 DIM>
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE bool 
nvbio::all (const StaticVector< T, DIM > &op)
 
template<typename T , uint32 DIM>
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE bool 
nvbio::operator== (const StaticVector< T, DIM > &op1, const StaticVector< T, DIM > &op2)
 
template<typename T , uint32 DIM>
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE bool 
nvbio::operator!= (const StaticVector< T, DIM > &op1, const StaticVector< T, DIM > &op2)