ddemidov / mba

Scattered data interpolation with multilevel B-Splines
MIT License
73 stars 23 forks source link

How to set dimension at runtime? #10

Open hanyk opened 5 years ago

ddemidov commented 5 years ago

This is not possible. The dimension is set as template parameter for the MBA class.

If you only have to support small number of possible dimensions, you could use a switch operator with all possible cases.