openMSX
Public Member Functions | 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 matMxNoperator+= (const matMxN &x)
 
constexpr matMxNoperator-= (const matMxN &x)
 
constexpr matMxNoperator*= (T x)
 
constexpr matMxNoperator*= (const matMxN< N, N, T > &x)
 

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 openmsx::N, and 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.

◆ 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 openmsx::N, openmsx::N2, openmsx::x, and 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.

References openmsx::N, and openmsx::x.

◆ 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.

References openmsx::N, and openmsx::x.

◆ 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.

References openmsx::N, and openmsx::x.

Member Function Documentation

◆ 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 104 of file gl_mat.hh.

References openmsx::x.

◆ operator*=() [2/2]

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

Definition at line 103 of file gl_mat.hh.

References openmsx::x.

◆ 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 101 of file gl_mat.hh.

References openmsx::x.

◆ 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 102 of file gl_mat.hh.

References openmsx::x.

◆ 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.

References openmsx::N.

◆ 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.

References openmsx::N.


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