sandbox
Loading...
Searching...
No Matches
sbx::math::basic_matrix3x3< Type > Class Template Reference
Inheritance diagram for sbx::math::basic_matrix3x3< Type >:
sbx::math::basic_matrix< 3u, 3u, Type >

Public Types

using value_type = base_type::value_type
 
using reference = base_type::reference
 
using const_reference = base_type::const_reference
 
using size_type = base_type::size_type
 
using column_type = column_type_for< value_type >
 
- Public Types inherited from sbx::math::basic_matrix< 3u, 3u, Type >
enum  direction
 
using value_type = Type
 
using reference = value_type &
 
using const_reference = const value_type &
 
using size_type = std::size_t
 
using column_type = basic_vector< Rows, Type >
 

Public Member Functions

constexpr basic_matrix3x3 (const base_type &base) noexcept
 
template<scalar Other>
constexpr basic_matrix3x3 (const column_type_for< Other > &column0, const column_type_for< Other > &column1, const column_type_for< Other > &column2) noexcept
 
template<scalar Other>
constexpr basic_matrix3x3 (Other x0, Other x1, Other x2, Other y0, Other y1, Other y2, Other z0, Other z1, Other z2) noexcept
 
template<scalar Other>
constexpr basic_matrix3x3 (const Other v00, const Other v11, const Other v22) noexcept
 
constexpr auto operator[] (size_type index) const noexcept -> const column_type &
 
constexpr auto operator[] (size_type index) noexcept -> column_type &
 
- Public Member Functions inherited from sbx::math::basic_matrix< 3u, 3u, Type >
constexpr basic_matrix (Other value=Other{0}) noexcept
 
constexpr basic_matrix (const basic_matrix< Columns, Rows, Other > &other) noexcept
 
constexpr basic_matrix (const basic_matrix &other) noexcept=default
 
constexpr basic_matrix (basic_matrix &&other) noexcept=default
 
auto operator= (const basic_matrix &other) noexcept -> basic_matrix &=default
 
auto operator= (basic_matrix &&other) noexcept -> basic_matrix &=default
 
constexpr auto operator[] (size_type index) noexcept -> column_type &
 
constexpr auto operator[] (size_type index) const noexcept -> const column_type &
 
constexpr auto operator+= (const basic_matrix< Columns, Rows, Other > &other) noexcept -> basic_matrix &
 
constexpr auto operator-= (const basic_matrix< Columns, Rows, Other > &other) noexcept -> basic_matrix &
 
constexpr auto operator*= (Other scalar) noexcept -> basic_matrix &
 
constexpr auto operator/= (Other scalar) noexcept -> basic_matrix &
 
constexpr auto row (const size_type row) const noexcept -> basic_vector< Columns, value_type >
 

Static Public Attributes

static constexpr basic_matrix3x3 identity {base_type::identity()}
 
static constexpr basic_matrix3x3 zero {base_type{value_type{0}}}
 
- Static Public Attributes inherited from sbx::math::basic_matrix< 3u, 3u, Type >
static constexpr auto columns
 
static constexpr auto rows
 

Additional Inherited Members

- Protected Types inherited from sbx::math::basic_matrix< 3u, 3u, Type >
using column_type_for = basic_vector< Rows, Other >
 
- Protected Member Functions inherited from sbx::math::basic_matrix< 3u, 3u, Type >
constexpr basic_matrix (Args &&... args) noexcept
 
- Static Protected Member Functions inherited from sbx::math::basic_matrix< 3u, 3u, Type >
static constexpr auto identity () noexcept -> basic_matrix
 

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