<a id="skfolio-utils-stats-inverse-multiply"></a>

# skfolio.utils.stats.inverse_multiply

<a id="skfolio.utils.stats.inverse_multiply"></a>

### skfolio.utils.stats.inverse_multiply(a, b)

Multiply the inverse of matrix a by matrix b.
We use np.linalg.solve as it tends to produce more accurate results than
np.linalg.inv.

* **Parameters:**
  **a** *ndarray of shape (n, n)*
  : Square matrix.

  **b** *ndarray of shape (n, m)*
  : Matrix.
* **Returns:**
  **m** *ndarray of shape (n, m)*
  : The inverse of matrix a multiplied by matrix b.

