openMSX
Public Member Functions | List of all members
gl::vecN< N, T > Class Template Reference

#include <gl_vec.hh>

Inheritance diagram for gl::vecN< N, T >:
Inheritance graph
[legend]

Public Member Functions

 vecN ()
 
 vecN (T x)
 
template<typename T2 >
 vecN (const vecN< N, T2 > &x)
 
template<int N2>
 vecN (const vecN< N2, T > &x)
 
 vecN (T x, T y)
 
 vecN (T x, T y, T z)
 
 vecN (T x, T y, T z, T w)
 
template<int N2>
 vecN (T x, const vecN< N2, T > &y)
 
template<int N1>
 vecN (const vecN< N1, T > &x, T y)
 
template<int N1, int N2>
 vecN (const vecN< N1, T > &x, const vecN< N2, T > &y)
 
operator[] (unsigned i) const
 
T & operator[] (unsigned i)
 
vecNoperator+= (const vecN &x)
 
vecNoperator-= (const vecN &x)
 
vecNoperator*= (const vecN &x)
 
vecNoperator*= (T x)
 

Detailed Description

template<int N, typename T>
class gl::vecN< N, T >

Definition at line 34 of file gl_vec.hh.

Constructor & Destructor Documentation

◆ vecN() [1/10]

template<int N, typename T>
gl::vecN< N, T >::vecN ( )
inline

Definition at line 40 of file gl_vec.hh.

◆ vecN() [2/10]

template<int N, typename T>
gl::vecN< N, T >::vecN ( x)
inlineexplicit

Definition at line 46 of file gl_vec.hh.

◆ vecN() [3/10]

template<int N, typename T>
template<typename T2 >
gl::vecN< N, T >::vecN ( const vecN< N, T2 > &  x)
inlineexplicit

Definition at line 53 of file gl_vec.hh.

◆ vecN() [4/10]

template<int N, typename T>
template<int N2>
gl::vecN< N, T >::vecN ( const vecN< N2, T > &  x)
inlineexplicit

Definition at line 59 of file gl_vec.hh.

◆ vecN() [5/10]

template<int N, typename T>
gl::vecN< N, T >::vecN ( x,
y 
)
inline

Definition at line 66 of file gl_vec.hh.

◆ vecN() [6/10]

template<int N, typename T>
gl::vecN< N, T >::vecN ( x,
y,
z 
)
inline

Definition at line 73 of file gl_vec.hh.

◆ vecN() [7/10]

template<int N, typename T>
gl::vecN< N, T >::vecN ( x,
y,
z,
w 
)
inline

Definition at line 80 of file gl_vec.hh.

◆ vecN() [8/10]

template<int N, typename T>
template<int N2>
gl::vecN< N, T >::vecN ( x,
const vecN< N2, T > &  y 
)
inline

Definition at line 88 of file gl_vec.hh.

◆ vecN() [9/10]

template<int N, typename T>
template<int N1>
gl::vecN< N, T >::vecN ( const vecN< N1, T > &  x,
y 
)
inline

Definition at line 97 of file gl_vec.hh.

◆ vecN() [10/10]

template<int N, typename T>
template<int N1, int N2>
gl::vecN< N, T >::vecN ( const vecN< N1, T > &  x,
const vecN< N2, T > &  y 
)
inline

Definition at line 106 of file gl_vec.hh.

Member Function Documentation

◆ operator*=() [1/2]

template<int N, typename T>
vecN& gl::vecN< N, T >::operator*= ( const vecN< N, T > &  x)
inline

Definition at line 130 of file gl_vec.hh.

◆ operator*=() [2/2]

template<int N, typename T>
vecN& gl::vecN< N, T >::operator*= ( x)
inline

Definition at line 131 of file gl_vec.hh.

◆ operator+=()

template<int N, typename T>
vecN& gl::vecN< N, T >::operator+= ( const vecN< N, T > &  x)
inline

Definition at line 128 of file gl_vec.hh.

◆ operator-=()

template<int N, typename T>
vecN& gl::vecN< N, T >::operator-= ( const vecN< N, T > &  x)
inline

Definition at line 129 of file gl_vec.hh.

◆ operator[]() [1/2]

template<int N, typename T>
T gl::vecN< N, T >::operator[] ( unsigned  i) const
inline

Definition at line 114 of file gl_vec.hh.

◆ operator[]() [2/2]

template<int N, typename T>
T& gl::vecN< N, T >::operator[] ( unsigned  i)
inline

Definition at line 120 of file gl_vec.hh.


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