Go to the documentation of this file. 1 #ifndef EAGINE_MATH_MATRIX_INVERSE_HPP
9 #define EAGINE_MATH_MATRIX_INVERSE_HPP
11 #include "../valid_if/decl.hpp"
19 template <
typename T,
int N,
bool RM,
bool V>
22 auto i = identity<matrix<T, N, N, RM, V>>()();
31 template <
typename Ctr,
typename = std::enable_if_t<is_matrix_constructor_v<Ctr>>>
39 #endif // EAGINE_MATH_MATRIX_INVERSE_HPP
static auto inverse_matrix(matrix< T, N, N, RM, V > m) noexcept -> optionally_valid< matrix< T, N, N, RM, V >>
Returns the inverse matrix to the matrix passed as argument.
Definition: matrix_inverse.hpp:20
Primary template for conditionally valid values.
Definition: decl.hpp:49
Math-related code is placed in this namespace.
Definition: eagine.hpp:48
static auto gauss_jordan_elimination(matrix< T, Ca, R, true, V > &a, matrix< T, Cb, R, true, V > &b) noexcept -> bool
Implements gauss-jordan elimination on matrices a and b.
Definition: matrix_gauss.hpp:112
Basic RxC matrix implementation template.
Definition: fwd.hpp:25