Skip to content

Latest commit

 

History

History
27 lines (16 loc) · 728 Bytes

File metadata and controls

27 lines (16 loc) · 728 Bytes

coords

.. cpp:namespace:: libsemigroups::StaticMatrix<PlusOp, ProdOp, ZeroOp, OneOp, R, C, Scalar>

.. cpp:function:: std::pair<scalar_type, scalar_type> \
                  coords(const_iterator it) const

   Returns a pair containing the row and columns corresponding to an iterator.

   :param it: the iterator

   :returns:
     A value of type ``std::pair<scalar_type, scalar_type>``.

   :complexity: Constant

   :exceptions:
     this function guarantees not to throw a :cpp:any:`LibsemigroupsException`.