I am using the multimap in my program. is there a way to have a second set of in/out so i can use a different multimap elsewhere in the program? how do i call for those?
Yes, you can have multiple multimaps of varying numbers of interpolation points.
The simple way is to create multiple in and out arrays, they are what and all that informs the multiple caculations. Pass the appropriate arrays and the size as you s done once here with a four point map.
Ppl making more things like this might use in1 and out1 as the names for the first, and in2 and out2 for the second and so forth.
If you are making many multimaps, perhaps the code would be prettier to move to two dimensional arrays or other data structure thy ishtar also include the number of pints if they are not equal from map to map.