38 #ifndef FCL_MATH_SAMPLERR_INL_H
39 #define FCL_MATH_SAMPLERR_INL_H
47 template <
typename S, std::
size_t N>
54 template <
typename S, std::
size_t N>
56 : lower_bound(lower_bound_), upper_bound(upper_bound_)
61 template <
typename S, std::
size_t N>
64 lower_bound = lower_bound_;
65 upper_bound = upper_bound_;
69 template <
typename S, std::
size_t N>
72 lower_bound_ = lower_bound;
73 upper_bound_ = upper_bound;
77 template <
typename S, std::
size_t N>
82 for(std::size_t i = 0; i < N; ++i)
84 q[i] = this->rng.uniformReal(lower_bound[i], upper_bound[i]);