public void CholeskyFailsWithNonSquareMatrix() { var matrix = new DenseMatrix(3, 2); Assert.Throws<ArgumentException>(() => matrix.Cholesky()); }