pbpt
Loading...
Searching...
No Matches
matrix.hpp File Reference

Defines a generic, RxC-dimensional, constexpr-friendly matrix class and its views. More...

#include <array>
#include <concepts>
#include <stdexcept>
#include <type_traits>
#include <utility>
#include <functional>
#include "vector.hpp"

Go to the source code of this file.

Classes

class  pbpt::math::VectorView< T, N >
 A non-owning, mutable view/proxy of vector-like data. More...
class  pbpt::math::MatrixView< T, R, C, ViewR, ViewC >
 A non-owning, mutable view/proxy into a sub-region of another Matrix. More...
class  pbpt::math::Matrix< T, R, C >
 A template class for RxC dimensional mathematical matrices. More...

Namespaces

namespace  pbpt::math
 The namespace for math library implementation.

Typedefs

using pbpt::math::Mat2 = Matrix<Float, 2, 2>
 A 2x2 matrix of type Float.
using pbpt::math::Mat3 = Matrix<Float, 3, 3>
 A 3x3 matrix of type Float.
using pbpt::math::Mat4 = Matrix<Float, 4, 4>
 A 4x4 matrix of type Float.
using pbpt::math::Mat3x4 = Matrix<Float, 3, 4>
 A 3x4 matrix of type Float.
using pbpt::math::Mat4x3 = Matrix<Float, 4, 3>
 A 4x3 matrix of type Float.

Detailed Description

Defines a generic, RxC-dimensional, constexpr-friendly matrix class and its views.