Fermat
Public Types | Public Methods | Public Members | Static Public Members | List of all members
cugar::Vector< T, 1 > Struct Template Reference

Detailed description

template<typename T>
struct cugar::Vector< T, 1 >

A generic small vector class with the dimension set at compile-time

#include <vector.h>

Public Types

typedef T base_type
 
typedef T value_type
 

Public Methods

CUGAR_FORCEINLINE CUGAR_HOST_DEVICE Vector (const T v0)
 
CUGAR_FORCEINLINE CUGAR_HOST_DEVICE uint32 dimension () const
 
CUGAR_FORCEINLINE CUGAR_HOST_DEVICE const T & operator[] (const uint32 i) const
 
CUGAR_FORCEINLINE CUGAR_HOST_DEVICE T & operator[] (const uint32 i)
 
CUGAR_FORCEINLINE CUGAR_HOST_DEVICE operator base_type () const
 

Public Members

base_type data
 

Static Public Members

static const uint32 DIMENSION = 1
 

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