The math in https://github.com/scikit-learn/scikit-learn/blob/38104ff4e8f1c9c39a6f272eff7818b75a27da46/sklearn/preprocessing/data.py#L156 does not render correctly in the documentation. Unfortunately I am not familiar with rst files, so I leave this open.