Fermat
Classes | Typedefs | Functions
Vector Types

Detailed Description

this module defines POD vector types as well as some reflection meta-functions

Classes

struct  cugar::vector_type< T, DIM >
 
struct  cugar::vector1_storage< T >
 
struct  cugar::vector2_storage< T >
 
struct  cugar::vector3_storage< T >
 
struct  cugar::vector4_storage< T >
 
struct  cugar::vector_type< T, 1 >
 
struct  cugar::vector_type< T, 2 >
 
struct  cugar::vector_type< T, 3 >
 
struct  cugar::vector_type< T, 4 >
 
struct  cugar::vector_type< char, 1 >
 
struct  cugar::vector_type< char, 2 >
 
struct  cugar::vector_type< char, 3 >
 
struct  cugar::vector_type< char, 4 >
 
struct  cugar::vector_type< unsigned char, 1 >
 
struct  cugar::vector_type< unsigned char, 2 >
 
struct  cugar::vector_type< unsigned char, 3 >
 
struct  cugar::vector_type< unsigned char, 4 >
 
struct  cugar::vector_type< short, 1 >
 
struct  cugar::vector_type< short, 2 >
 
struct  cugar::vector_type< short, 3 >
 
struct  cugar::vector_type< short, 4 >
 
struct  cugar::vector_type< unsigned short, 1 >
 
struct  cugar::vector_type< unsigned short, 2 >
 
struct  cugar::vector_type< unsigned short, 3 >
 
struct  cugar::vector_type< unsigned short, 4 >
 
struct  cugar::vector_type< int, 1 >
 
struct  cugar::vector_type< int, 2 >
 
struct  cugar::vector_type< int, 3 >
 
struct  cugar::vector_type< int, 4 >
 
struct  cugar::vector_type< unsigned int, 1 >
 
struct  cugar::vector_type< unsigned int, 2 >
 
struct  cugar::vector_type< unsigned int, 3 >
 
struct  cugar::vector_type< unsigned int, 4 >
 
struct  cugar::vector_type< int64, 1 >
 
struct  cugar::vector_type< int64, 2 >
 
struct  cugar::vector_type< int64, 3 >
 
struct  cugar::vector_type< int64, 4 >
 
struct  cugar::vector_type< uint64, 1 >
 
struct  cugar::vector_type< uint64, 2 >
 
struct  cugar::vector_type< uint64, 3 >
 
struct  cugar::vector_type< uint64, 4 >
 
struct  cugar::vector_type< float, 1 >
 
struct  cugar::vector_type< float, 2 >
 
struct  cugar::vector_type< float, 3 >
 
struct  cugar::vector_type< float, 4 >
 
struct  cugar::vector_type< double, 1 >
 
struct  cugar::vector_type< double, 2 >
 
struct  cugar::vector_type< double, 3 >
 
struct  cugar::vector_type< double, 4 >
 
struct  cugar::vector_traits< T >
 
struct  cugar::vector_traits< char >
 
struct  cugar::vector_traits< unsigned char >
 
struct  cugar::vector_traits< short >
 
struct  cugar::vector_traits< unsigned short >
 
struct  cugar::vector_traits< int >
 
struct  cugar::vector_traits< unsigned int >
 
struct  cugar::vector_traits< int64 >
 
struct  cugar::vector_traits< uint64 >
 
struct  cugar::vector_traits< float >
 
struct  cugar::vector_traits< double >
 
struct  cugar::vector_traits< char2 >
 
struct  cugar::vector_traits< char3 >
 
struct  cugar::vector_traits< char4 >
 
struct  cugar::vector_traits< uchar2 >
 
struct  cugar::vector_traits< uchar3 >
 
struct  cugar::vector_traits< uchar4 >
 
struct  cugar::vector_traits< short2 >
 
struct  cugar::vector_traits< short3 >
 
struct  cugar::vector_traits< short4 >
 
struct  cugar::vector_traits< ushort2 >
 
struct  cugar::vector_traits< ushort3 >
 
struct  cugar::vector_traits< ushort4 >
 
struct  cugar::vector_traits< int2 >
 
struct  cugar::vector_traits< int3 >
 
struct  cugar::vector_traits< int4 >
 
struct  cugar::vector_traits< uint2 >
 
struct  cugar::vector_traits< uint3 >
 
struct  cugar::vector_traits< uint4 >
 
struct  cugar::vector_traits< float2 >
 
struct  cugar::vector_traits< float3 >
 
struct  cugar::vector_traits< float4 >
 
struct  cugar::vector_traits< double2 >
 
struct  cugar::vector_traits< uint64_2 >
 
struct  cugar::vector_traits< uint64_3 >
 
struct  cugar::vector_traits< uint64_4 >
 
struct  cugar::vector_traits< int64_2 >
 
struct  cugar::vector_traits< int64_3 >
 
struct  cugar::vector_traits< int64_4 >
 

Typedefs

typedef uchar2 cugar::uint8_2
 
typedef uchar3 cugar::uint8_3
 
typedef uchar4 cugar::uint8_4
 
typedef char2 cugar::int8_2
 
typedef char3 cugar::int8_3
 
typedef char4 cugar::int8_4
 
typedef ushort2 cugar::uint16_2
 
typedef ushort3 cugar::uint16_3
 
typedef ushort4 cugar::uint16_4
 
typedef short2 cugar::int16_2
 
typedef short3 cugar::int16_3
 
typedef short4 cugar::int16_4
 
typedef uint2 cugar::uint32_2
 
typedef uint3 cugar::uint32_3
 
typedef uint4 cugar::uint32_4
 
typedef int2 cugar::int32_2
 
typedef int3 cugar::int32_3
 
typedef int4 cugar::int32_4
 
typedef ulonglong2 cugar::uint64_2
 
typedef ulonglong3 cugar::uint64_3
 
typedef ulonglong4 cugar::uint64_4
 
typedef longlong2 cugar::int64_2
 
typedef longlong3 cugar::int64_3
 
typedef longlong4 cugar::int64_4
 

Functions

template<typename T >
CUGAR_FORCEINLINE CUGAR_HOST_DEVICE vector_type< T, 1 >::type cugar::make_vector (const T i1)
 
template<typename T >
CUGAR_FORCEINLINE CUGAR_HOST_DEVICE vector_type< T, 2 >::type cugar::make_vector (const T i1, const T i2)
 
template<typename T >
CUGAR_FORCEINLINE CUGAR_HOST_DEVICE vector_type< T, 3 >::type cugar::make_vector (const T i1, const T i2, const T i3)
 
template<typename T >
CUGAR_FORCEINLINE CUGAR_HOST_DEVICE vector_type< T, 4 >::type cugar::make_vector (const T i1, const T i2, const T i3, const T i4)