19#ifndef _FUNCTIONUTILS_NDSAMPLER_H
20#define _FUNCTIONUTILS_NDSAMPLER_H
47template <
typename...
TKnot>
72 template <
typename Generator>
std::vector< std::tuple< TKnot... > > draw(std::size_t ndraws, Generator &rng) const
NdSampler(std::tuple< std::vector< TKnot >... > knots, const NdArray::NdArray< double > &grid)
void draw(std::size_t ndraws, Generator &rng, std::vector< std::tuple< OKnots... > > &output) const
std::array< std::vector< double >, N > Coordinates
Used to pass the grid coordinates to interpn. Internally will make a copy of the required values.