operator()¶
-
scalar_reference operator()(size_t const i)¶
Returns a reference to the specified entry of the matrix.
- Parameters:
i – the index of the entry
- Returns:
A value of type
scalar_reference.- Exceptions:
This function guarantees not to throw a
LibsemigroupsException.- Complexity:
Constant
Warning
No checks on the validity of the parameter
iis performed.
-
scalar_const_reference operator()(size_t const i) const¶
Returns a const reference to the specified entry of the matrix.
- Parameters:
i – the index of the entry
- Returns:
A value of type
scalar_const_reference.- Exceptions:
This function guarantees not to throw a
LibsemigroupsException.- Complexity:
Constant
Warning
No checks on the validity of the parameter
iis performed.