API Documentation:
linearSampling()
linear Sampling
a_list (array) – list to be sampled
numPts (int) – number of sampling point
sampled list
array