cotila
1.2.1
A compile time linear algebra system
Main Page
Functions
Classes
Source Files
GitHub
•
All
Classes
Files
Functions
Variables
Modules
Pages
Matrix
as_column
as_row
cast
conj
det
elementwise
fill
generate
hermitian
horzcat
identity
imag
inverse
kron
macs
mars
matmul
matrix
matrix
matrix
matrix
operator!=
operator*
operator*
operator*
operator+
operator+
operator+
operator/
operator/
operator==
rank
real
repmat
reshape
rref
rref
submat
swapcol
swaprow
trace
transpose
vertcat
◆
submat()
template<std::size_t P, std::size_t Q, std::size_t M, std::size_t N, typename T >
constexpr
matrix
<T, P, Q> cotila::submat
(
const
matrix
< T, M, N > &
m
,
std::size_t
a
,
std::size_t
b
)
Parameters
m
an
matrix of type T
a
the starting index into the rows
b
the starting index into the columns
Returns
an
submatrix
of type T such that
Extracts the submatrix of a matrix.
Generated by
1.8.13