This commit is contained in:
2020-03-27 10:13:51 +07:00
commit da1024a5b3
16614 changed files with 3274282 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
<?php
include __DIR__ . '/../classes/Bootstrap.php';
$grid1 = [
[1, 3, 2],
[2, 3, 1],
];
$grid2 = [
[1, 6],
[0, 1],
];
$matrix = new Matrix\Matrix($grid1);
$new = $matrix->directsum(new Matrix\Matrix($grid2));
var_dump($new);