Skip to content
Jim Lee edited this page Mar 20, 2020 · 6 revisions

Abstract:

As you should know by the time you read this, a very common issue one runs across when programming is unit translation and value limiting. You are given some value that covers an arbitrary range and you need to "map" this value to a unit that you are looking for. And, at the same time, limit the range of the inputted data to "sane" values. And this is where one would use a mapper.

But, what if the mapping is non liner? What if your incoming data maps to the values you are looking for on a curve? This is a job for multiMap.

multiMap:

Constructor:

multiMap(void);
No parameters, creates an empty multiMap ready for you to add data points to.

`

Clone this wiki locally