scicpp::linspace

Defined in header <scicpp/core.hpp>

Return evenly spaced numbers over a specified interval.


template<std::size_t N, typename T>
std::array<T, N> linspace(T start, T stop)

template<typename T>
std::vector<T> linspace(T start, T stop, std::size_t num)

See also
Scipy documentation