BasicMatrix


begin of advanced section  advanced  begin of advanced section

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

end of advanced section  advanced  end of advanced section