tatami_test
Utilities for testing tatami libraries
Loading...
Searching...
No Matches
Public Attributes | List of all members
tatami_test::SimulateVectorOptions Struct Reference

Options for simulate_vector(). More...

#include <simulate_vector.hpp>

Public Attributes

double lower = 0
 
double upper = 100
 
double density = 1
 
uint64_t seed = 1234567890
 

Detailed Description

Options for simulate_vector().

Member Data Documentation

◆ density

double tatami_test::SimulateVectorOptions::density = 1

Density of non-zero values for the simulated values.

◆ lower

double tatami_test::SimulateVectorOptions::lower = 0

Lower bound on the simulated values.

◆ seed

uint64_t tatami_test::SimulateVectorOptions::seed = 1234567890

Seed for the PRNG.

◆ upper

double tatami_test::SimulateVectorOptions::upper = 100

Upper bound on the simulated values.


The documentation for this struct was generated from the following file: