|
tatami_test
Utilities for testing tatami libraries
|
Simulate a random vector. More...
#include <random>#include <vector>#include <cstddef>#include "sanisizer/sanisizer.hpp"#include "utils.hpp"Go to the source code of this file.
Classes | |
| struct | tatami_test::SimulateVectorOptions |
Options for simulate_vector(). More... | |
Namespaces | |
| namespace | tatami_test |
| Utilities for testing tatami libraries. | |
Functions | |
| template<typename Type_ , typename Length_ > | |
| std::vector< Type_ > | tatami_test::simulate_vector (const Length_ length, const SimulateVectorOptions &options) |
| template<typename Type_ , typename Index_ > | |
| std::vector< Type_ > | tatami_test::simulate_vector (const Index_ nrow, const Index_ ncol, const SimulateVectorOptions &options) |
Simulate a random vector.