@spiceErrorCheck<EOL>def mxmtg(m1, m2, nrow1, nc1c2, nrow2):
m1 = stypes.toDoubleMatrix(m1)<EOL>m2 = stypes.toDoubleMatrix(m2)<EOL>mout = stypes.emptyDoubleMatrix(x=nrow2, y=nrow1)<EOL>nrow1 = ctypes.c_int(nrow1)<EOL>nc1c2 = ctypes.c_int(nc1c2)<EOL>nrow2 = ctypes.c_int(nrow2)<EOL>libspice.mxmtg_c(m1, m2, nrow1, nc1c2, nrow2, mout)<EOL>return stypes.cMatrixToNumpy(mout)<EOL>
Multiply a matrix and the transpose of a matrix, both of arbitrary size.

http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/mxmtg_c.html

:param m1: Left-hand matrix to be multiplied.
:type m1: NxM-Element Array of floats
:param m2: Right-hand matrix whose transpose is to be multiplied
:type m2: NxM-Element Array of floats
:param nrow1: Row dimension of m1 and row dimension of mout.
:type nrow1: int
:param nc1c2: Column dimension of m1 and column dimension of m2.
:type nc1c2: int
:param nrow2: Row dimension of m2 and column dimension of mout.
:type nrow2: int
:return: Product matrix.
:rtype: NxM-Element Array of floats