Interpolates 2 numbers or lists from <begin> to <end> through <samples> steps. <curve> is 1 for linear interpolation, ]0.0 1.0[ for convex and ]1.0 2.0[ for concave interpolation.