PointSampler library (C++)
Loading...
Searching...
No Matches
halton.hpp File Reference

Go to the source code of this file.

Namespaces

namespace  ps
 

Functions

template<typename T , size_t N>
std::vector< Point< T, N > > ps::halton_sequence (size_t count, size_t shift)
 
template<typename T , size_t N>
std::vector< Point< T, N > > ps::halton (size_t count, const std::array< std::pair< T, T >, N > &axis_ranges, std::optional< unsigned int > seed=std::nullopt)
 Generates a set of quasi-random points using the Halton sequence in N dimensions.