Indexes a submatrix.
More...
#include <matrix.hpp>
tu::SubmatrixIndices::SubmatrixIndices |
( |
const std::vector< std::size_t > & |
rows, |
|
|
const std::vector< std::size_t > & |
columns |
|
) |
| |
Constructor from arrays rows
and columns
.
CMR_EXPORT tu::SubmatrixIndices::SubmatrixIndices |
( |
std::size_t |
row, |
|
|
std::size_t |
column |
|
) |
| |
Constructor for a 1x1 submatrix.
Constructor for a 1x1 submatrix.
const std::vector<std::size_t>& tu::SubmatrixIndices::columns |
( |
| ) |
const |
|
inline |
Returns the vector of column indices.
std::size_t tu::SubmatrixIndices::numColumns |
( |
| ) |
const |
|
inline |
Returns the number of column indices.
std::size_t tu::SubmatrixIndices::numRows |
( |
| ) |
const |
|
inline |
Returns the number of row indices.
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: