math/
mg_linear_function.pro
topmg_linear_function
result = mg_linear_function(in_range, out_range)
Create a function which maps in_range to out_range with a linear function.
Return value
2-element array of type of in_range and out_range
Parameters
- in_range in required type=2-element numeric array
input range
- out_range in required type=2-element numeric array
output range
File attributes
| Modification date: | Tue Nov 20 11:24:27 2007 |
| Lines: | 13 |
![[attach.png]](../idldoc-resources/attach.png)