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)
 
template<size_t I>
get () const noexcept
 
template<size_t I>
T & get () noexcept
 
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 35 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 41 of file gl_vec.hh.

◆ vecN() [2/10]

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

Definition at line 47 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 54 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 60 of file gl_vec.hh.

◆ vecN() [5/10]

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

Definition at line 67 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 74 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 81 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 89 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 98 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 107 of file gl_vec.hh.

Member Function Documentation

◆ get() [1/2]

template<int N, typename T>
template<size_t I>
T gl::vecN< N, T >::get ( ) const
inlinenoexcept

Definition at line 129 of file gl_vec.hh.

◆ get() [2/2]

template<int N, typename T>
template<size_t I>
T& gl::vecN< N, T >::get ( )
inlinenoexcept

Definition at line 130 of file gl_vec.hh.

◆ operator*=() [1/2]

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

Definition at line 135 of file gl_vec.hh.

◆ operator*=() [2/2]

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

Definition at line 136 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 133 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 134 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 115 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 121 of file gl_vec.hh.


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