Owl_exception``check p e`` raises the exception ``e`` if the predicate ``p`` is ``false``, otherwise returns ``unit``.
Parameters: * ``p``: predicate to check. * ``e``: exception to raise.
Returns: * ``unit``
``verify p f`` calls the function ``f`` which further raises an exception if the predicate ``p`` is ``false``, otherwise returns ``unit``.
Parameters: * ``p``: predicate to check. * ``f``: function to raise the exception.
Returns: * ``unit``
``to_string e`` converts an exception into a string containing more detailed information for debugging the code.
val pp_exception : Format.formatter -> exn -> unit``pp_exception`` is the pretty printer for Owl exceptions.
Invalid matrix shapes for matrix dot product.