#include <glh_linear.h>
Public Member Functions | |
T | dot (const vec< N, T > &rhs) const |
const T * | get_value () const |
T | length () const |
void | negate () |
T | normalize () |
vec< N, T > | operator* (T d) const |
vec< N, T > & | operator*= (T d) |
vec< N, T > & | operator*= (const vec< N, T > &u) |
vec< N, T > | operator+ (const vec< N, T > &v) const |
vec< N, T > & | operator+= (const vec< N, T > &u) |
vec< N, T > | operator- () const |
vec< N, T > | operator- (const vec< N, T > &v) const |
vec< N, T > & | operator-= (const vec< N, T > &u) |
vec< N, T > & | operator/= (T d) |
T & | operator[] (int i) |
const T & | operator[] (int i) const |
vec< N, T > & | set_value (const T *rhs) |
int | size () const |
T | square_norm () const |
vec (const T &t=T()) | |
vec (const T *tp) | |
Public Attributes | |
T | v [N] |
Definition at line 90 of file glh_linear.h.
Definition at line 95 of file glh_linear.h.
Definition at line 97 of file glh_linear.h.
Definition at line 104 of file glh_linear.h.
Definition at line 100 of file glh_linear.h.
Definition at line 111 of file glh_linear.h.
Definition at line 125 of file glh_linear.h.
Definition at line 129 of file glh_linear.h.
Definition at line 176 of file glh_linear.h.
Definition at line 151 of file glh_linear.h.
Definition at line 154 of file glh_linear.h.
vec<N,T> glh::vec< N, T >::operator+ | ( | const vec< N, T > & | v | ) | const [inline] |
Definition at line 170 of file glh_linear.h.
Definition at line 160 of file glh_linear.h.
Definition at line 167 of file glh_linear.h.
vec<N,T> glh::vec< N, T >::operator- | ( | const vec< N, T > & | v | ) | const [inline] |
Definition at line 173 of file glh_linear.h.
Definition at line 163 of file glh_linear.h.
Definition at line 157 of file glh_linear.h.
Definition at line 145 of file glh_linear.h.
Definition at line 148 of file glh_linear.h.
Definition at line 142 of file glh_linear.h.
Definition at line 93 of file glh_linear.h.
T glh::vec< N, T >::square_norm | ( | ) | const [inline] |
Definition at line 118 of file glh_linear.h.
Definition at line 184 of file glh_linear.h.