sandbox
|
Public Types | |
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 | |
template<scalar Other = value_type> requires (Columns > 1u && Rows > 1u) | |
constexpr | basic_matrix (Other value=Other{0}) noexcept |
constexpr auto | operator[] (size_type index) noexcept -> column_type & |
constexpr auto | operator[] (size_type index) const noexcept -> const column_type & |
template<scalar Other> requires (Columns > 1u && Rows > 1u) | |
constexpr auto | operator+= (const basic_matrix< Columns, Rows, Other > &other) noexcept -> basic_matrix & |
template<scalar Other> requires (Columns > 1u && Rows > 1u) | |
constexpr auto | operator-= (const basic_matrix< Columns, Rows, Other > &other) noexcept -> basic_matrix & |
template<scalar Other> requires (Columns > 1u && Rows > 1u) | |
constexpr auto | operator*= (Other scalar) noexcept -> basic_matrix & |
template<scalar Other> requires (Columns > 1u && Rows > 1u) | |
constexpr auto | operator/= (Other scalar) noexcept -> basic_matrix & |
Protected Types | |
template<scalar Other> | |
using | column_type_for = basic_vector< Rows, Other > |
Protected Member Functions | |
template<typename... Args> requires (Columns > 1u && Rows > 1u) | |
constexpr | basic_matrix (Args &&... args) noexcept |
Static Protected Member Functions | |
static constexpr auto | identity () noexcept -> basic_matrix |