ILIAS
Release_4_0_x_branch Revision 61816
|
Example of use of Matrix Class, featuring magic squares. More...
Public Member Functions | |
microtime_float () | |
Simple function to replicate PHP 5 behaviour. | |
displayStats ($times=null) | |
runEig ($n=4, $t=100) | |
runLU ($n=4, $t=100) | |
runQR ($n=4, $t=100) | |
runCholesky ($n=4, $t=100) | |
runSVD ($n=4, $t=100) | |
run () | |
__construct () |
Data Fields | |
$stat |
Example of use of Matrix Class, featuring magic squares.
Definition at line 16 of file benchmark.php.
Benchmark::__construct | ( | ) |
Definition at line 159 of file benchmark.php.
Benchmark::displayStats | ( | $times = null | ) |
Definition at line 30 of file benchmark.php.
Referenced by run().
Benchmark::microtime_float | ( | ) |
Simple function to replicate PHP 5 behaviour.
Definition at line 23 of file benchmark.php.
Referenced by runCholesky(), runEig(), runLU(), runQR(), and runSVD().
Benchmark::run | ( | ) |
Definition at line 123 of file benchmark.php.
References $n, $t, displayStats(), runCholesky(), runEig(), runLU(), runQR(), and runSVD().
Benchmark::runCholesky | ( | $n = 4 , |
|
$t = 100 |
|||
) |
Definition at line 93 of file benchmark.php.
References $n, $t, microtime_float(), and Matrix\random().
Referenced by run().
Benchmark::runEig | ( | $n = 4 , |
|
$t = 100 |
|||
) |
Definition at line 48 of file benchmark.php.
References $n, $t, microtime_float(), and Matrix\random().
Referenced by run().
Benchmark::runLU | ( | $n = 4 , |
|
$t = 100 |
|||
) |
Definition at line 63 of file benchmark.php.
References $n, $t, microtime_float(), and Matrix\random().
Referenced by run().
Benchmark::runQR | ( | $n = 4 , |
|
$t = 100 |
|||
) |
Definition at line 78 of file benchmark.php.
References $n, $t, microtime_float(), and Matrix\random().
Referenced by run().
Benchmark::runSVD | ( | $n = 4 , |
|
$t = 100 |
|||
) |
Definition at line 108 of file benchmark.php.
References $n, $t, microtime_float(), and Matrix\random().
Referenced by run().
Benchmark::$stat |
Definition at line 17 of file benchmark.php.