Public Member Functions | Public Attributes
glh::vec< N, T > Class Template Reference

#include <glh_linear.h>

List of all members.

Public Member Functions

dot (const vec< N, T > &rhs) const
const T * get_value () const
length () const
void negate ()
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
square_norm () const
 vec (const T &t=T())
 vec (const T *tp)

Public Attributes

v [N]

Detailed Description

template<int N, class T>
class glh::vec< N, T >

Definition at line 90 of file glh_linear.h.


Constructor & Destructor Documentation

template<int N, class T>
glh::vec< N, T >::vec ( const T &  t = T()) [inline]

Definition at line 95 of file glh_linear.h.

template<int N, class T>
glh::vec< N, T >::vec ( const T *  tp) [inline]

Definition at line 97 of file glh_linear.h.


Member Function Documentation

template<int N, class T>
T glh::vec< N, T >::dot ( const vec< N, T > &  rhs) const [inline]

Definition at line 104 of file glh_linear.h.

template<int N, class T>
const T* glh::vec< N, T >::get_value ( ) const [inline]

Definition at line 100 of file glh_linear.h.

template<int N, class T>
T glh::vec< N, T >::length ( ) const [inline]

Definition at line 111 of file glh_linear.h.

template<int N, class T>
void glh::vec< N, T >::negate ( ) [inline]

Definition at line 125 of file glh_linear.h.

template<int N, class T>
T glh::vec< N, T >::normalize ( ) [inline]

Definition at line 129 of file glh_linear.h.

template<int N, class T>
vec<N,T> glh::vec< N, T >::operator* ( d) const [inline]

Definition at line 176 of file glh_linear.h.

template<int N, class T>
vec<N,T>& glh::vec< N, T >::operator*= ( d) [inline]

Definition at line 151 of file glh_linear.h.

template<int N, class T>
vec<N,T>& glh::vec< N, T >::operator*= ( const vec< N, T > &  u) [inline]

Definition at line 154 of file glh_linear.h.

template<int N, class T>
vec<N,T> glh::vec< N, T >::operator+ ( const vec< N, T > &  v) const [inline]

Definition at line 170 of file glh_linear.h.

template<int N, class T>
vec<N,T>& glh::vec< N, T >::operator+= ( const vec< N, T > &  u) [inline]

Definition at line 160 of file glh_linear.h.

template<int N, class T>
vec<N,T> glh::vec< N, T >::operator- ( ) const [inline]

Definition at line 167 of file glh_linear.h.

template<int N, class T>
vec<N,T> glh::vec< N, T >::operator- ( const vec< N, T > &  v) const [inline]

Definition at line 173 of file glh_linear.h.

template<int N, class T>
vec<N,T>& glh::vec< N, T >::operator-= ( const vec< N, T > &  u) [inline]

Definition at line 163 of file glh_linear.h.

template<int N, class T>
vec<N,T>& glh::vec< N, T >::operator/= ( d) [inline]

Definition at line 157 of file glh_linear.h.

template<int N, class T>
T& glh::vec< N, T >::operator[] ( int  i) [inline]

Definition at line 145 of file glh_linear.h.

template<int N, class T>
const T& glh::vec< N, T >::operator[] ( int  i) const [inline]

Definition at line 148 of file glh_linear.h.

template<int N, class T>
vec<N,T>& glh::vec< N, T >::set_value ( const T *  rhs) [inline]

Definition at line 142 of file glh_linear.h.

template<int N, class T>
int glh::vec< N, T >::size ( ) const [inline]

Definition at line 93 of file glh_linear.h.

template<int N, class T>
T glh::vec< N, T >::square_norm ( ) const [inline]

Definition at line 118 of file glh_linear.h.


Member Data Documentation

template<int N, class T>
T glh::vec< N, T >::v[N]

Definition at line 184 of file glh_linear.h.


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


nao_openni
Author(s): Bener SUAY
autogenerated on Mon Jan 6 2014 11:27:52