linear4mpfit.pro 127 Bytes Edit Raw Blame History 1 2 3 4 5 6 7 8 FUNCTION linear4mpfit,x,param ;param=[a,b] for y=a*x+b ;meant to be used by linear_mpfit.pro RETURN,param[0]*x+param[1] END