Chebyshev coefficients: Difference between revisions

m
Line 1,199:
19 Chebyshev coefficient is: 2.859065292763079576513213370136E-29
 
=={{header|langRuby}}==
<lang langruby>def mapp(x, min_x, max_x, min_to, max_to)
{{trans|lang}}
<lang lang>def mapp(x, min_x, max_x, min_to, max_to)
return (x - min_x) / (max_x - min_x) * (max_to - min_to) + min_to
end
1,452

edits