Template Function mrpt::math::linspace(T, T, size_t, VECTOR&)

Function Documentation

template<typename T, typename VECTOR>
void mrpt::math::linspace(T first, T last, size_t count, VECTOR &out_vector)

Generates an equidistant sequence of numbers given the first one, the last one and the desired number of points.

See also

sequence