Navigation: Up, Table of Contents, Bibliography, Index, Title Page

Basic Requirements for Matrix Classes

In this section we list some basic requirements for matrix classes.

Types

BasicMatrix::Value
The type of a matrix entry. It has to define a copy constructor.

Operations

int m.number_of_columns () const
returns the number of columns.

int m.number_of_rows () const
returns the number of rows.

Entry m.operator() ( int row, int column) const
returns the entry at position (row, column).
Precondition:
0 row < number_of_rows() and
0 column < number_of_columns().


Next: Function Declaration of sorted_matrix_search
Navigation: Up, Table of Contents, Bibliography, Index, Title Page
The GALIA project. Jan 18, 2000.