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

#include <gl_mat.hh>

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

Public Member Functions

constexpr matMxN ()
 
constexpr matMxN (const vecN<(M< N ? M :N), T > &d)
 
template<int M2, int N2>
constexpr matMxN (const matMxN< M2, N2, T > &x)
 
constexpr matMxN (const vecN< M, T > &x, const vecN< M, T > &y)
 
constexpr matMxN (const vecN< M, T > &x, const vecN< M, T > &y, const vecN< M, T > &z)
 
constexpr matMxN (const vecN< M, T > &x, const vecN< M, T > &y, const vecN< M, T > &z, const vecN< M, T > &w)
 
constexpr const vecN< M, T > & operator[] (unsigned i) const
 
constexpr vecN< M, T > & operator[] (unsigned i)
 
constexpr const T * data () const
 
constexpr T * data ()
 
constexpr matMxNoperator+= (const matMxN &x)
 
constexpr matMxNoperator-= (const matMxN &x)
 
constexpr matMxNoperator*= (T x)
 
constexpr matMxNoperator*= (const matMxN< N, N, T > &x)
 

Friends

constexpr bool operator== (const matMxN &x, const matMxN &y)
 

Detailed Description

template<int M, int N, typename T>
class gl::matMxN< M, N, T >

Definition at line 29 of file gl_mat.hh.

Constructor & Destructor Documentation

◆ matMxN() [1/6]

template<int M, int N, typename T >
constexpr gl::matMxN< M, N, T >::matMxN ( )
inlineconstexpr

Definition at line 35 of file gl_mat.hh.

References xrange().

◆ matMxN() [2/6]

template<int M, int N, typename T >
constexpr gl::matMxN< M, N, T >::matMxN ( const vecN<(M< N ? M :N), T > &  d)
inlineexplicitconstexpr

Definition at line 45 of file gl_mat.hh.

References xrange().

◆ matMxN() [3/6]

template<int M, int N, typename T >
template<int M2, int N2>
constexpr gl::matMxN< M, N, T >::matMxN ( const matMxN< M2, N2, T > &  x)
inlineexplicitconstexpr

Definition at line 55 of file gl_mat.hh.

References xrange().

◆ matMxN() [4/6]

template<int M, int N, typename T >
constexpr gl::matMxN< M, N, T >::matMxN ( const vecN< M, T > &  x,
const vecN< M, T > &  y 
)
inlineconstexpr

Definition at line 63 of file gl_mat.hh.

◆ matMxN() [5/6]

template<int M, int N, typename T >
constexpr gl::matMxN< M, N, T >::matMxN ( const vecN< M, T > &  x,
const vecN< M, T > &  y,
const vecN< M, T > &  z 
)
inlineconstexpr

Definition at line 70 of file gl_mat.hh.

◆ matMxN() [6/6]

template<int M, int N, typename T >
constexpr gl::matMxN< M, N, T >::matMxN ( const vecN< M, T > &  x,
const vecN< M, T > &  y,
const vecN< M, T > &  z,
const vecN< M, T > &  w 
)
inlineconstexpr

Definition at line 77 of file gl_mat.hh.

Member Function Documentation

◆ data() [1/2]

template<int M, int N, typename T >
constexpr T * gl::matMxN< M, N, T >::data ( )
inlineconstexpr

Definition at line 101 of file gl_mat.hh.

◆ data() [2/2]

template<int M, int N, typename T >
constexpr const T * gl::matMxN< M, N, T >::data ( ) const
inlineconstexpr

Definition at line 100 of file gl_mat.hh.

Referenced by openmsx::GLSnow::paint(), and openmsx::PostProcessor::paint().

◆ operator*=() [1/2]

template<int M, int N, typename T >
constexpr matMxN & gl::matMxN< M, N, T >::operator*= ( const matMxN< N, N, T > &  x)
inlineconstexpr

Definition at line 108 of file gl_mat.hh.

◆ operator*=() [2/2]

template<int M, int N, typename T >
constexpr matMxN & gl::matMxN< M, N, T >::operator*= ( x)
inlineconstexpr

Definition at line 107 of file gl_mat.hh.

◆ operator+=()

template<int M, int N, typename T >
constexpr matMxN & gl::matMxN< M, N, T >::operator+= ( const matMxN< M, N, T > &  x)
inlineconstexpr

Definition at line 105 of file gl_mat.hh.

◆ operator-=()

template<int M, int N, typename T >
constexpr matMxN & gl::matMxN< M, N, T >::operator-= ( const matMxN< M, N, T > &  x)
inlineconstexpr

Definition at line 106 of file gl_mat.hh.

◆ operator[]() [1/2]

template<int M, int N, typename T >
constexpr vecN< M, T > & gl::matMxN< M, N, T >::operator[] ( unsigned  i)
inlineconstexpr

Definition at line 93 of file gl_mat.hh.

◆ operator[]() [2/2]

template<int M, int N, typename T >
constexpr const vecN< M, T > & gl::matMxN< M, N, T >::operator[] ( unsigned  i) const
inlineconstexpr

Definition at line 87 of file gl_mat.hh.

Friends And Related Symbol Documentation

◆ operator==

template<int M, int N, typename T >
constexpr bool operator== ( const matMxN< M, N, T > &  x,
const matMxN< M, N, T > &  y 
)
friend

Definition at line 113 of file gl_mat.hh.


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