cotila
1.2.1
A compile time linear algebra system
|
A container representing a matrix. More...
#include <matrix.h>
Public Types | |
using | value_type = T |
using | size_type = std::size_t |
Public Member Functions | |
Element access | |
constexpr vector< T, M > | row (std::size_t i) const |
access specified row More... | |
constexpr vector< T, N > | column (std::size_t i) const |
access specified column More... | |
constexpr T * | operator[] (std::size_t i) |
access specified element More... | |
constexpr T const * | operator[] (std::size_t i) const |
access specified element More... | |
Static Public Attributes | |
static constexpr size_type | column_size = N |
Number of rows. | |
static constexpr size_type | row_size = M |
Number of columns. | |
Related Functions | |
(Note that these are not member functions.) | |
cotila::matrix deduction guides | |
template<typename T , std::size_t M, std::size_t N> | |
matrix (const T(&)[M][N]) -> matrix< T, M, N > | |
deduction guide for aggregate initialization More... | |
template<typename T , std::size_t M, std::size_t N> | |
matrix (const T(&)[M][N][2]) -> matrix< std::complex< T >, M, N > | |
deduction guide for complex-valued aggregate initialization More... | |
T | scalar type to contain |
N | number of rows |
M | number of columns |
cotila::matrix
is a container representing a matrix. It is an aggregate type containing a single member array of type T[N][M]
which can be initialized with aggregate initialization.