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

# skfolio.utils.stats.multiply_by_inverse

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

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

Multiply matrix a by the inverse of 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, m)*
  : Matrix.

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

