def linspace(count):
 return list(map(float, numpy.linspace(0.0, 1.0, (count + 2), endpoint=True)[1:(-1)]))

def linspace ( count ) : return list ( map ( float , numpy . linspace ( 0.0 , 1.0 , ( count + 2 ) , endpoint = True ) [ 1 : ( - 1 ) ] ) )
return count evenly spaced points from 0 .