C++
C#
VB
JScript
All

# Matrix

Copyright (C) 2005 IENT-RWTH Aachen

Class that represents two-dimentional arrays

|  | generator_traits<G>

| Matrix

|  | Image

|  | generator_traits<G>

| Matrix

Subclasses

Image

Groups

Constructors
Matrix | Builds an instance of the object
Assignment
operator= | Assignment Operator
Operators
operator() | Element access
operator[] | Element access
Operations
back | Last element access
begin | Iterator that points at the first element
bottomboundary | Tests if the position is on the bottom
boundary | Tests if the position is on any boundary
col_lower_bound | Lowest valid comlumn position
col_upper_bound | Greatest valid comlumn position
end | Iterator that points just beyond the last element
front | First element access
height |
leftboundary | Tests if the position is on the left
lower_bound | Lowest valid position
ncols | Number of columns, width
nelms | Number of elements
nrows | Number of rows, height
rbegin | Reverse iterator that points at the last element
rend | Reverse iterator that points just before the the first element
resize | Changes the size
rightboundary | Tests if the position is on the right
row_lower_bound | Lowest valid row position
row_upper_bound | Greatest valid row position
set_lower_bound | Changes the lowest valid position
size | Two-dimensional size, height & width
swap | Swap the contents
topboundary | Tests if the position is on the top
upper_bound | Greatest valid position
width |
withinbounds | Tests the validity of the position

Example

    template<class G>
    typename Matrix<G>::size_type size(const Matrix<G> &X)
    {
      return X.size();
    }