Skip to content

Commit eb78a4a

Browse files
committed
Remove Cholesky test, since Cholesky is now gone.
1 parent 111a34f commit eb78a4a

File tree

1 file changed

+0
-21
lines changed

1 file changed

+0
-21
lines changed

tests/MatrixTest.php

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -312,27 +312,6 @@ public function testInverse()
312312
$this->assertEquals(1, $inverse->get(2, 2));
313313
}
314314

315-
public function testCholeskyInverse()
316-
{
317-
$matrix = new Matrix([
318-
[25, 15, -5],
319-
[15, 18, 0],
320-
[-5, 0, 11],
321-
]);
322-
323-
$inverse = $matrix->inverse();
324-
325-
$this->assertEquals(22 / 225, $inverse->get(0, 0));
326-
$this->assertEquals(-11 / 135, $inverse->get(0, 1));
327-
$this->assertEquals(2 / 45, $inverse->get(0, 2));
328-
$this->assertEquals(-11 / 135, $inverse->get(1, 0));
329-
$this->assertEquals(10 / 81, $inverse->get(1, 1));
330-
$this->assertEquals(-1 / 27, $inverse->get(1, 2));
331-
$this->assertEquals(2 / 45, $inverse->get(2, 0));
332-
$this->assertEquals(-1 / 27, $inverse->get(2, 1));
333-
$this->assertEquals(1 / 9, $inverse->get(2, 2));
334-
}
335-
336315
public function testAdjoint()
337316
{
338317
$matrix = new Matrix([

0 commit comments

Comments
 (0)