Blame view

src/idl_misc/JPBLib_for_Dustemwrap/General/quadratic4mpfit.pro 154 Bytes
6db3528a   Jean-Philippe Bernard   adding librairies...
1
2
3
4
5
6
7
8
FUNCTION quadratic4mpfit,x,param

;param=[a,b,c] for y=a*x^2+b*x+c
;meant to be used by quadratic_mpfit.pro

RETURN,param[0]*x^2+param[1]*x+param[2]

END