|
Public Types |
typedef T | value_type |
typedef T * | value_ptr |
typedef const T * | value_cptr |
typedef VVector< T, N > | vec_type |
typedef const VVector< T, N > | cvec_type |
enum | { size = N
} |
Public Member Functions |
| VVector () |
| VVector (const T &val) |
| VVector (const VVector< T, N > &rhs) |
| VVector (const T *vptr) |
T * | begin () |
const T * | begin () const |
T * | end () |
const T * | end () const |
const T & | operator[] (const unsigned int i) const |
| const element access
|
T & | operator[] (const unsigned int i) |
| non-const element access (lvalue)
|
VVector< T, N > & | assign (const T &val) |
| Assignment operator.
|
VVector< T, N > & | assign (const T *vptr) |
| Assignment operator.
|
VVector< T, N > & | assign (const VVector< T, N > &rhs) |
| Assignment operator.
|
VVector< T, N > & | operator= (const VVector< T, N > &rhs) |
| Assignment operator.
|
bool | operator== (const VVector< T, N > &rhs) const |
| comparison operator
|
bool | operator!= (const VVector< T, N > &rhs) const |
| comparison operator
|
bool | allNotEqual (const VVector< T, N > &rhs) const |
| comparison operator
|
bool | operator< (const VVector< T, N > &rhs) const |
| comparison operator
|
bool | operator<= (const VVector< T, N > &rhs) const |
| comparison operator
|
bool | operator> (const VVector< T, N > &rhs) const |
| comparison operator
|
bool | operator>= (const VVector< T, N > &rhs) const |
| comparison operator
|
VVector< T, N > & | operator+= (const VVector< T, N > &rhs) |
| In-place scalar element-wise vector addition.
|
VVector< T, N > & | operator-= (const VVector< T, N > &rhs) |
| In-place scalar element-wise vector substraction.
|
VVector< T, N > & | operator *= (const VVector< T, N > &rhs) |
| In-place scalar element-wise vector multiplication.
|
VVector< T, N > & | operator/= (const VVector< T, N > &rhs) |
| In-place scalar element-wise vector division.
|
VVector< T, N > | operator+ (const VVector< T, N > &rhs) const |
| Element-wise addition. Creates a copy.
|
VVector< T, N > | operator- (const VVector< T, N > &rhs) const |
| Element-wise substraction. Creates a copy.
|
VVector< T, N > | operator * (const VVector< T, N > &rhs) const |
| Element-wise multiplication. Creates a copy.
|
VVector< T, N > | operator/ (const VVector< T, N > &rhs) const |
| Element-wise division. Creates a copy.
|
VVector< T, N > | operator+ (const T &val) const |
| Element-wise addition by scalar. Creates a copy.
|
VVector< T, N > | operator- (const T &val) const |
| Element-wise substraction. Creates a copy.
|
VVector< T, N > | operator * (const T &val) const |
| Element-wise multiplication. Creates a copy.
|
VVector< T, N > | operator/ (const T &val) const |
| Element-wise division. Creates a copy.
|
VVector< T, N > | operator+= (const T &val) |
| Element-wise addition by scalar. Creates a copy.
|
VVector< T, N > | operator-= (const T &val) |
| Element-wise substraction. Creates a copy.
|
VVector< T, N > | operator *= (const T &val) |
| Element-wise multiplication. Creates a copy.
|
VVector< T, N > | operator/= (const T &val) |
| Element-wise division. Creates a copy.
|
Static Public Member Functions |
static unsigned int | bytesize () |
| Returns the size of the array in bytes.
|
Public Attributes |
T | data [N] |