File tree Expand file tree Collapse file tree 1 file changed +0
-21
lines changed
Expand file tree Collapse file tree 1 file changed +0
-21
lines changed Original file line number Diff line number Diff 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 ([
You can’t perform that action at this time.
0 commit comments