[UPDATE] add linspace.