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

Function Documentation

template<typename T, typename VECTOR = std::vector<T>>
VECTOR mrpt::math::linspace(T first, T last, size_t count)

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

See also

sequence

Note

[New in MRPT 2.1.4]