Processing math: 100%
 
CGAL 6.1 - Monotone and Sorted Matrix Search
All Classes Namespaces Functions Typedefs Pages
Loading...
Searching...
No Matches

#include <Concepts/BasicMatrix.h>

Definition

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

Has models
CGAL::Dynamic_matrix<M>
See also
MonotoneMatrixSearchTraits
SortedMatrixSearchTraits

Types

typedef unspecified_type Value
 The type of a matrix entry.
 

Operations

int number_of_columns () const
 returns the number of columns.
 
int number_of_rows () const
 returns the number of rows.
 
Entry operator() (int row, int column) const
 returns the entry at position (row, column).
 

Member Typedef Documentation

◆ Value

typedef unspecified_type BasicMatrix::Value

The type of a matrix entry.

It has to define a copy constructor.

Member Function Documentation

◆ number_of_columns()

int BasicMatrix::number_of_columns ( ) const

returns the number of columns.

◆ number_of_rows()

int BasicMatrix::number_of_rows ( ) const

returns the number of rows.

◆ operator()()

Entry BasicMatrix::operator() ( int  row,
int  column 
) const

returns the entry at position (row, column).

Precondition
0 \le row < number_of_rows(), and 0 \le column < number_of_columns().