.. # split from OEMathFunctions.rst:411

.. include:: ../substitutions

.. oe:namespace:: OEMath

.. meta::
   :keywords: OEGeom3DMatrixTranspose

.. oe:function:: OEGeom3DMatrixTranspose

   .. oe:language:: c++ java csharp

      .. oe:api::

         template<class T>
         void OEGeom3DMatrixTranspose(T* mat)

   .. oe:language:: python

      .. oe:api:: python

         OEGeom3DMatrixTranspose(mat: OEDoubleArray) -> None

   Transposes the elements of the :math:`3x3` matrix ``mat``, that is, the
   elements are swapped along the diagonal.


