Basic RxC matrix implementation template. More...
#include <eagine/math/matrix.hpp>
Public Types | |
using | element_type = T |
Element type. | |
Public Member Functions | |
auto | operator[] (int i) const noexcept -> const vector< T, RM ? C :R, V > |
Subscript operator. | |
Static Public Member Functions | |
template<typename P > | |
static auto | from (const P *dt, span_size_t sz) noexcept -> matrix |
Creates a matrix from data pointer and size. | |
template<typename P , int M, int N, bool W> | |
static auto | from (const matrix< P, M, N, RM, W > &m) noexcept -> std::enable_if_t<(C<=M) &&(R<=N), matrix > |
Creates a matrix from another matrix type. | |
Basic RxC matrix implementation template.