#include <vector4.h>
Collaboration diagram for vectorn< T, 4 >:
Public Types | |
typedef T | value_type |
Public Member Functions | |
vectorn () | |
vectorn (T vx, T vy, T vz, T vw) | |
vectorn (const T *v) | |
vectorn (const vectorn< T, 4 > &v) | |
const vectorn< T, 4 > | operator+= (const vectorn< T, 4 > &v) |
const vectorn< T, 4 > | operator-= (const vectorn< T, 4 > &v) |
const vectorn< T, 4 > | operator *= (const T &num) |
const vectorn< T, 4 > | operator/= (const T &num) |
const bool | operator== (const vectorn< T, 4 > &v) const |
const bool | operator!= (const vectorn< T, 4 > &v) const |
const vectorn< T, 4 > | operator- () const |
const vectorn< T, 4 > | operator * (const T &num) const |
const vectorn< T, 4 > | operator/ (const T &num) const |
size_t | size () const |
operator T * () | |
operator const T * () const | |
Public Attributes | |
T | x |
T | y |
T | z |
T | w |
Friends | |
std::ostream & | operator<< (std::ostream &out, const vectorn< T, 4 > &v) |
const vectorn< T, 4 > | operator+ (const vectorn< T, 4 > &v1, const vectorn< T, 4 > &v2) |
const vectorn< T, 4 > | operator- (const vectorn< T, 4 > &v1, const vectorn< T, 4 > &v2) |
const T | operator * (const vectorn< T, 4 > &v1, const vectorn< T, 4 > &v2) |
const vectorn< T, 4 > | operator * (const T &s, const vectorn< T, 4 > &v) |
typedef T vectorn< T, 4 >::value_type |
const vectorn<T,4> vectorn< T, 4 >::operator+= | ( | const vectorn< T, 4 > & | v | ) | [inline] |
const vectorn<T,4> vectorn< T, 4 >::operator-= | ( | const vectorn< T, 4 > & | v | ) | [inline] |
const bool vectorn< T, 4 >::operator== | ( | const vectorn< T, 4 > & | v | ) | const [inline] |
const bool vectorn< T, 4 >::operator!= | ( | const vectorn< T, 4 > & | v | ) | const [inline] |
const vectorn<T,4> vectorn< T, 4 >::operator * | ( | const T & | num | ) | const [inline] |
size_t vectorn< T, 4 >::size | ( | ) | const [inline] |
vectorn< T, 4 >::operator T * | ( | ) | [inline] |
vectorn< T, 4 >::operator const T * | ( | ) | const [inline] |
std::ostream& operator<< | ( | std::ostream & | out, | |
const vectorn< T, 4 > & | v | |||
) | [friend] |
const vectorn<T,4> operator+ | ( | const vectorn< T, 4 > & | v1, | |
const vectorn< T, 4 > & | v2 | |||
) | [friend] |
const vectorn<T,4> operator- | ( | const vectorn< T, 4 > & | v1, | |
const vectorn< T, 4 > & | v2 | |||
) | [friend] |
const T operator * | ( | const vectorn< T, 4 > & | v1, | |
const vectorn< T, 4 > & | v2 | |||
) | [friend] |
const vectorn<T,4> operator * | ( | const T & | s, | |
const vectorn< T, 4 > & | v | |||
) | [friend] |