Initial commit: apps.supersam24.ru
This commit is contained in:
commit
e955e1da36
6566 files changed
+1271095
No files matched your search
+19
@@ -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);
|
||||
Reference in new issue
Block a user