pub fn linear_space( start: PyExpr, end: PyExpr, num_samples: PyExpr, closed: Wrap<ClosedInterval>, ) -> PyResult<PyExpr>