I'm using C++ and I want to calculate the symmetric of a point with respect to a hyperplane. I'm in a dimension given at execution time.
I have the points in the hyperplane. So I calculated the normal vector by solving a set of linear equations. Then to get the hyperplane (with the normal and a point), the projection of the first point and finally the symmetric.
I tried using the eigen3
library but it seems it needs the dimension to be given at compile time.
Any idea to solve the problem with this library (or any other one) or a short-cut method are welcome.
Thank you in advance.