BLUE
PHP 7.4.33
Path:
/var/www/multi-event-cfp.bitkit.dk/httpdocs/vendor/markbaker/matrix/examples
Run
Logout
Edit File
Size: 486 B
Close
/var/www/multi-event-cfp.bitkit.dk/httpdocs/vendor/markbaker/matrix/examples/test.php
Text
Base64
<?php use Matrix\Matrix; use Matrix\Decomposition\QR; include __DIR__ . '/../vendor/autoload.php'; $grid = [ [0, 1], [-1, 0], ]; $targetGrid = [ [-1], [2], ]; $matrix = new Matrix($grid); $target = new Matrix($targetGrid); $decomposition = new QR($matrix); $X = $decomposition->solve($target); echo 'X', PHP_EOL; var_export($X->toArray()); echo PHP_EOL; $resolve = $matrix->multiply($X); echo 'Resolve', PHP_EOL; var_export($resolve->toArray()); echo PHP_EOL;
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 1
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
test.php
486 B
lrw-rw-r--
2021-07-01 19:01:15
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).