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

## BasicMatrix

| advanced |

### Definition

A class BasicMatrix has to provide the following types and operations in order to be a model for BasicMatrix.

### 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().

### Has Models

CGAL::Dynamic_matrix<M>

### See Also

MonotoneMatrixSearchTraits
SortedMatrixSearchTraits

| advanced |

Next: sorted_matrix_search

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

The CGAL Project . Tue, December 21, 2004 .