/
home
/
techb158
/
immovalet.com
/
vendor
/
markbaker
/
matrix
/
classes
/
src
/
Decomposition
/
/home/techb158/immovalet.com/vendor/markbaker/matrix/classes/src/Decomposition
mkdir
upload
Name
Size
Mode
Actions
Decomposition.php
530
0644
edit
dl
rm
LU.php
6969
0644
edit
dl
rm
QR.php
5615
0644
edit
dl
rm
Edit:
/home/techb158/immovalet.com/vendor/markbaker/matrix/classes/src/Decomposition/Decomposition.php
(530B)
<?php namespace Matrix\Decomposition; use Matrix\Exception; use Matrix\Matrix; class Decomposition { const LU = 'LU'; const QR = 'QR'; /** * @throws Exception */ public static function decomposition($type, Matrix $matrix) { switch (strtoupper($type)) { case self::LU: return new LU($matrix); case self::QR: return new QR($matrix); default: throw new Exception('Invalid Decomposition'); } } }
Save