begin, cbegin

iterator begin()

Returns a (random access) iterator pointing at the first entry in the matrix.

Returns:

A value of type iterator.

Complexity:

Constant

Throws:

this function is noexcept and is guaranteed never to throw.

Parameters:

(None)

Warning

The order in which entries in the matrix are iterated over is not specified.

const_iterator cbegin()

Returns a const (random access) iterator pointing at the first entry in the matrix.

Returns:

A value of type const_iterator.

Complexity:

Constant

Throws:

this function is noexcept and is guaranteed never to throw.

Parameters:

(None)

Warning

The order in which entries in the matrix are iterated over is not specified.