auto measure( const UniformSampler<Space<T, Scaled<M, W>>, Bounds>& sampler, const Space<T, Scaled<M, W>>& space) { return measure( static_cast<const UniformSampler<Space<T, M>, Bounds>&>(sampler), space.space()) * space.weight(); }
UniformSampler(const Space<T, Scaled<M, W>>& space, const Bounds& bounds) : Base(space.space(), bounds) { }