mtx_specs Class Reference

mtx_specs class holds shape plus storage offset and rowstride info. More...

#include <mtx/mtx.h>

Inheritance diagram for mtx_specs:

Inheritance graph
[legend]
Collaboration diagram for mtx_specs:

Collaboration graph
[legend]

List of all members.

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_shapeshape () 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


Detailed Description

mtx_specs class holds shape plus storage offset and rowstride info.

Definition at line 397 of file mtx.h.


The documentation for this class was generated from the following files:

The software described here is Copyright (c) 1998-2005, Rob Peters.
This page was generated Wed Dec 3 06:55:36 2008 by Doxygen version 1.5.5.