Tests for random nodes.
More...
◆ autocorrelation()
| T autocorrelation |
( |
const std::vector< T > & |
sequence, |
|
|
const size_t |
offset |
|
) |
| |
Compute the auto correlation for a specific offset.
- Template Parameters
-
- Parameters
-
| [in] | sequence | Random sequence. |
| [in] | offset | Offset of the correlation. |
- Returns
- The autocorrelation for a given offset.
◆ main()
| int main |
( |
int |
argc, |
|
|
const char * |
argv[] |
|
) |
| |
Main program of the test.
- Parameters
-
| [in] | argc | Number of commandline arguments. |
| [in] | argv | Array of commandline arguments. |
◆ run_tests()
Run tests.
- Template Parameters
-
| T | Base type of the calculation. |
| N | Number of random numbers to use. |
◆ test_dist()
Run test with a specified backend.
- Template Parameters
-
| T | Base type of the calculation. |
| N | Number of random numbers to use. |