#include <mtx/mtx.h>

Public Member Functions | |
| double | operator[] (int i) const |
| int | nelems () const |
| slice | operator() (const index_range &rng) const |
| void | print (std::ostream &s) const |
| Print the slice to the given stream. | |
| void | print_stdout () const |
| Print the slice to stdout. | |
| mtx_iter | begin_nc () |
| mtx_iter | end_nc () |
| mtx_const_iter | begin () const |
| mtx_const_iter | end () const |
| double | sum () const |
| double | min () const |
| double | max () const |
| double | mean () const |
| mtx | get_sort_order () const |
| bool | operator== (const slice &other) const |
| bool | operator!= (const slice &other) const |
| template<class F> | |
| void | apply (F func) |
| void | sort () |
| void | reorder (const mtx &index) |
| void | operator+= (double val) |
| void | operator-= (double val) |
| void | operator*= (double factor) |
| void | operator/= (double div) |
| slice & | operator+= (const slice &other) |
| slice & | operator-= (const slice &other) |
| slice & | operator= (double val) |
| All entries in this slice get the specified value. | |
| slice & | operator= (const slice &other) |
| This is assignment of value, not reference. | |
| slice & | operator= (const mtx &other) |
| This is assignment of value, not reference. | |
Friends | |
| class | mtx |
Definition at line 239 of file mtx.h.