.. _pyexample_matrices:

====================================================
Python example: matrices.py
====================================================

This example shows how to create, manipulate, and print MRPT matrix classes in Python, 
as well as converting from/to numpy matrices.

.. literalinclude:: ../../python-examples/matrices.py
   :language: python
   :linenos:


Output:

.. literalinclude:: ../../python-examples/matrices.out
   :linenos:

