Passed
Push — main ( e1cf2a...15c446 )
by Shubham
02:12
created
examples/vector.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@
 block discarded – undo
6 6
 $unit = ['b', 'kb', 'mb', 'gb', 'tb', 'pb'];
7 7
 $time = microtime(1);
8 8
 $mem = memory_get_usage();
9
-$v = vector::ar(range(-100000, 100000));        // to genrate random vector
9
+$v = vector::ar(range(-100000, 100000)); // to genrate random vector
10 10
 
11 11
 echo PHP_EOL;
12 12
 $memory = memory_get_usage() - $mem . PHP_EOL;
Please login to merge, or discard this patch.
src/decompositions/lu.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare (strict_types=1);
3
+declare(strict_types=1);
4 4
 
5 5
 namespace Np\decompositions;
6 6
 
Please login to merge, or discard this patch.
src/decompositions/eigen.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare (strict_types=1);
3
+declare(strict_types=1);
4 4
 
5 5
 namespace Np\decompositions;
6 6
 
Please login to merge, or discard this patch.
examples/matrix.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -9,8 +9,8 @@
 block discarded – undo
9 9
 $a = matrix::randn(1000, 1000);
10 10
 $b = matrix::randn(1000, 1000);
11 11
 $a->dot($b);
12
-matrix::getMemory();           // get memory use
13
-matrix::time();               // get time
12
+matrix::getMemory(); // get memory use
13
+matrix::time(); // get time
14 14
 /**
15 15
  * Memory-Consumed 7.7mb
16 16
  * Time-Consumed:- 0.18390893936157
Please login to merge, or discard this patch.