#include <mtx/mtx.h>
Public Member Functions | |
mtx_specs (const mtx_shape &shape) | |
mtx_specs (int mrows, int ncols) | |
mtx_specs (const mtx_specs &other) | |
void | swap (mtx_specs &other) |
mtx_specs | as_shape (const mtx_shape &s) const |
mtx_specs | as_shape (int mr, int nc) const |
void | select_rows (const row_index_range &rng) |
void | select_cols (const col_index_range &rng) |
mtx_specs | sub_rows (const row_index_range &rng) const |
mtx_specs | sub_cols (const col_index_range &rng) const |
const mtx_shape & | shape () const |
ptrdiff_t | offset () const |
int | max_dim () const |
int | nelems () const |
int | mrows () const |
int | rowstride () const |
int | ncols () const |
int | colstride () const |
unsigned int | rowgap () const |
int | offset_from_start (int row, int col) const |
int | offset_from_start (int elem) const |
int | offset_from_storage (int row, int col) const |
int | offset_from_storage (int elem) const |
Definition at line 397 of file mtx.h.