20 #include <tensor/tensor.h>
21 #include "linspace.hpp"
38 return do_linspace(min, max, n);
const RTensor linspace(double min, double max, index n=100)
Vector of 'n' equally spaced numbers in the interval [min, max].
Real Tensor with elements of type "double".
elt_t & at(index i)
Return a mutable reference to an element of a 1D Tensor.