def linspace(x0, x1, points):
    """Returns a list of numbers of `points` elements, 
    with constant intervals between `x0` and `x1`"""
    delta = (x1 - x0) / (points - 1)
    return map(lambda x: x0 + delta * x, range(points))