34Array
white(glm::ivec2 shape,
float a,
float b, std::uint32_t seed);
Declaration of the Array class for 2D floating-point arrays with various mathematical operations and ...
Definition algebra.hpp:23
Array white(glm::ivec2 shape, float a, float b, std::uint32_t seed)
Return an array filled with white noise.
Definition white.cpp:13
Array white_density_map(const Array &density_map, std::uint32_t seed)
Return an array filled 1 with a probability based on a density map.
Definition white.cpp:25
Array white_sparse_binary(glm::ivec2 shape, float density, std::uint32_t seed)
Return an array sparsely filled with random 0 and 1.
Definition white.cpp:58
Array white_sparse(glm::ivec2 shape, float a, float b, float density, std::uint32_t seed)
Return an array sparsely filled with white noise.
Definition white.cpp:40