.. # split from OEMathFunctions.rst:585

.. include:: ../substitutions

.. oe:namespace:: OEMath

.. meta::
   :keywords: OEGeomDotProd

.. oe:function:: OEGeomDotProd

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

      .. oe:api::

         template<class T>
         double OEGeomDotProd(const T* p, const T* q, unsigned int n)

   .. oe:language:: python

      .. oe:api:: python

         OEGeomDotProd(p: OEFloatArray, q: OEFloatArray, arg3: int) -> float
         OEGeomDotProd(p: OEDoubleArray, q: OEDoubleArray, arg3: int) -> float

   Returns the dot-product between the two ``n`` dimensional
   vectors ``p`` and ``q``.

