y=lab.linspace(x1,x2) returns a one-dimensional tensor of size 100 equally spaced points between x1 and x2.

y=lab.linspace(x1,x2,n) returns a one-dimensional tensor of n equally spaced points between x1 and x2.