Simple numerical integration routine
Linear mapping of a numeric vector or scalar from one contiguous interval to another
1 
x 
a numeric vector 
D 
a vector with 2 elements, the first being the lower endpoint of
the domain, the upper being the upper endpoint of the domain. Note

R 
a vector with 2 elements indicating the range of the linear
mapping. 
The mapping is f : D \rightarrow R, where f(D[1]) = R[1] and f(D[2]) = R[2].
The linear mapping of x
from D
to R
Landon Sego
1 2 3 4 5 6 7 8 9 10 11 12 13 14 
Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.
Please suggest features or report bugs with the GitHub issue tracker.
All documentation is copyright its authors; we didn't write any of that.