> I believe that such a function is normally called "clamp". I'd not heard that before; is that the mathematical word for it? (clip is terminology from graphics programming, where a clipping rectangle is another word for a window or viewport)
Darren _______________________________________________ Rcpp-devel mailing list Rcpp-devel@lists.r-forge.r-project.org https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel