Total Complexity | 2 |
Total Lines | 24 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
10 | class eignBench |
||
11 | { |
||
12 | /** |
||
13 | * @var \Np\matrix |
||
14 | */ |
||
15 | protected $a; |
||
16 | |||
17 | public function setUp() : void |
||
18 | { |
||
19 | $this->a = matrix::uniform(500, 500); |
||
20 | |||
21 | $this->a = $this->a->dot($this->a); |
||
22 | } |
||
23 | |||
24 | /** |
||
25 | * @Subject |
||
26 | * @Iterations(5) |
||
27 | * @revs(5) |
||
28 | * @BeforeMethods({"setUp"}) |
||
29 | * @OutputTimeUnit("seconds", precision=3) |
||
30 | */ |
||
31 | public function eign() : void |
||
34 | } |
||
35 | } |
||
36 |