Indexes a submatrix.
More...
#include <matrix.hpp>
◆ SubmatrixIndices() [1/4]
◆ SubmatrixIndices() [2/4]
◆ SubmatrixIndices() [3/4]
tu::SubmatrixIndices::SubmatrixIndices |
( |
const std::vector< std::size_t > & |
rows, |
|
|
const std::vector< std::size_t > & |
columns |
|
) |
| |
Constructor from arrays rows
and columns
.
◆ SubmatrixIndices() [4/4]
CMR_EXPORT tu::SubmatrixIndices::SubmatrixIndices |
( |
std::size_t |
row, |
|
|
std::size_t |
column |
|
) |
| |
Constructor for a 1x1 submatrix.
Constructor for a 1x1 submatrix.
◆ columns()
const std::vector<std::size_t>& tu::SubmatrixIndices::columns |
( |
| ) |
const |
|
inline |
Returns the vector of column indices.
◆ numColumns()
std::size_t tu::SubmatrixIndices::numColumns |
( |
| ) |
const |
|
inline |
Returns the number of column indices.
◆ numRows()
std::size_t tu::SubmatrixIndices::numRows |
( |
| ) |
const |
|
inline |
Returns the number of row indices.
◆ rows()
const std::vector<std::size_t>& tu::SubmatrixIndices::rows |
( |
| ) |
const |
|
inline |
Returns the vector of row indices.
The documentation for this class was generated from the following files: