RSTools 3.1.0
Versatile C++20 utility library
Loading...
Searching...
No Matches
Matrix.hpp File Reference
#include "RST/maths/Utils.hpp"
#include "RST/maths/Vector.hpp"
#include <cmath>
#include <cstddef>
#include <initializer_list>
#include <limits>
#include <ostream>
#include <stdexcept>
#include <utility>

Go to the source code of this file.

Classes

class  RST::Maths::Matrix< T, Rows, Cols >
 Fixed-size matrix of Rows x Cols elements, stored in row-major order. More...
 

Namespaces

namespace  RST
 Root namespace of RSTools.
 
namespace  RST::Maths
 Math helpers: constants, interpolation, random numbers, 2D and 3D vectors and matrices.
 

Typedefs

template<typename T >
using RST::Maths::Matrix4 = Matrix< T, 4, 4 >
 
template<typename T >
using RST::Maths::Matrix3 = Matrix< T, 3, 3 >
 
using RST::Maths::Matrix4f = Matrix< float, 4, 4 >
 
using RST::Maths::Matrix3f = Matrix< float, 3, 3 >
 
using RST::Maths::Matrix4d = Matrix< double, 4, 4 >
 
using RST::Maths::Matrix3d = Matrix< double, 3, 3 >
 
using RST::Maths::Vector4f = Matrix< float, 4, 1 >
 Column vector, to multiply with a Matrix4f.
 
using RST::Maths::Vector3f = Matrix< float, 3, 1 >
 Column vector, to multiply with a Matrix3f.
 

Functions

template<typename T , size_t Rows, size_t Cols>
std::ostream & RST::Maths::operator<< (std::ostream &os, const Matrix< T, Rows, Cols > &mat)