|
Graph Framework
|
Tests for random nodes. More...
#include "../graph_framework/jit.hpp"#include "../graph_framework/workflow.hpp"#include "../graph_framework/piecewise.hpp"#include "../graph_framework/arithmetic.hpp"#include "../graph_framework/math.hpp"#include "../graph_framework/trigonometry.hpp"#include "../graph_framework/timing.hpp"Functions | |
| template<jit::float_scalar T> | |
| T | autocorrelation (const std::vector< T > &sequence, const size_t offset) |
| Compute the auto correlation for a specific offset. | |
| template<jit::float_scalar T, size_t N> | |
| void | test_dist () |
| Run test with a specified backend. | |
| template<jit::float_scalar T> | |
| void | test_graph () |
| Test graph properties of random numbers. | |
| template<jit::float_scalar T> | |
| void | test_multi () |
| Test multiple randoms in a single kernel. | |
| template<jit::float_scalar T, size_t N> | |
| void | run_tests () |
| Run tests. | |
| int | main (int argc, const char *argv[]) |
| Main program of the test. | |
Tests for random nodes.
| T autocorrelation | ( | const std::vector< T > & | sequence, |
| const size_t | offset | ||
| ) |
Compute the auto correlation for a specific offset.
| T | Base type. |
| [in] | sequence | Random sequence. |
| [in] | offset | Offset of the correlation. |
| int main | ( | int | argc, |
| const char * | argv[] | ||
| ) |
Main program of the test.
| [in] | argc | Number of commandline arguments. |
| [in] | argv | Array of commandline arguments. |
| void run_tests | ( | ) |
Run tests.
| T | Base type of the calculation. |
| N | Number of random numbers to use. |
| void test_dist | ( | ) |
Run test with a specified backend.
| T | Base type of the calculation. |
| N | Number of random numbers to use. |