Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

mtx.h File Reference

#include "datablock.h"
#include "arithfunctor.h"
#include <iosfwd>
#include <iterator>

Include dependency graph for mtx.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Namespaces

namespace  rutz
namespace  range_checking

Classes

class  index_range
 index_range class represents a half-open range of indices More...
class  row_index_range
 A range class for row ranges only. More...
class  col_index_range
 A range class for column ranges only. More...
class  stride_iterator_base< T >
 Generic stride-based array iterator. More...
class  slice
 Represents a one dimensional sub-array of a matrix. More...
class  mtx_shape
 mtx_shape class holds number-of-rows/number-of-columns info. More...
class  mtx_specs
 mtx_specs class holds shape plus storage offset and rowstride info. More...
class  index_iterator_base< M, T >
 Index-based iterator for mtx class. More...
class  colmaj_iterator_base< T >
 Column-major iterator for mtx class. More...
class  rowmaj_iterator_base< T >
 Row-major iterator for mtx class. More...
class  mtx_base< Data >
 mtx_base class has shared infrastructure for mtx and sub_mtx_ref More...
class  sub_mtx_ref
 sub_mtx_ref class More...
class  mtx
 mtx class More...

Defines

#define RC_geq(x, lim)
#define RC_less(x, lim)
#define RC_leq(x, lim)
#define RC_in_half_open(x, llim, ulim)
#define RC_in_full_open(x, llim, ulim)
#define RCR_geq(x, lim)   (x)
#define RCR_less(x, lim)   (x)
#define RCR_leq(x, lim)   (x)
#define RCR_in_half_open(x, llim, ulim)   (x)
#define RCR_in_full_open(x, llim, ulim)   (x)

Typedefs

typedef stride_iterator_base<
double > 
mtx_iter
typedef stride_iterator_base<
const double > 
mtx_const_iter

Functions

void geq (const void *x, const void *lim, const char *f, int ln)
void lt (const void *x, const void *lim, const char *f, int ln)
void leq (const void *x, const void *lim, const char *f, int ln)
void in_half_open (const void *x, const void *llim, const void *ulim, const char *f, int ln)
void in_full_open (const void *x, const void *llim, const void *ulim, const char *f, int ln)
void geq (int x, int lim, const char *f, int ln)
void lt (int x, int lim, const char *f, int ln)
void leq (int x, int lim, const char *f, int ln)
void in_half_open (int x, int llim, int ulim, const char *f, int ln)
void in_full_open (int x, int llim, int ulim, const char *f, int ln)
index_range range (int i)
index_range range (int begin, int end)
index_range range_n (int begin, int count)
row_index_range row_range (int r)
row_index_range row_range (int begin, int end)
row_index_range row_range_n (int begin, int count)
col_index_range col_range (int c)
col_index_range col_range (int begin, int end)
col_index_range col_range_n (int begin, int count)
double inner_product (mtx_const_iter s1, mtx_const_iter s2)
mtx operator+ (const mtx &m, double x)
mtx operator- (const mtx &m, double x)
mtx operator * (const mtx &m, double x)
mtx operator/ (const mtx &m, double x)
mtx operator+ (const mtx &m1, const mtx &m2)
mtx operator- (const mtx &m1, const mtx &m2)
mtx arr_mul (const mtx &m1, const mtx &m2)
mtx arr_div (const mtx &m1, const mtx &m2)
mtx min (const mtx &m1, const mtx &m2)
mtx max (const mtx &m1, const mtx &m2)


Detailed Description

2-dimensional numeric arrays, with iteration, subarrays, slicing, etc. a la matlab

Definition in file mtx.h.


The software described here is Copyright (c) 1998-2005, Rob Peters.
This page was generated Tue Jul 12 02:58:42 2005 by Doxygen version 1.3.9.1.