I am concerned with the following algorithm:
As input, it takes n points in n dimensional space in rectangular coordinates. These n points define an n-1 dimensional hyperplane (we can ignore the infintesimal probability that they don’t). As output, I would like the equation of this hyperplane.
Is there a known algorithm – or at least a known complexity class – for this problem?
Thanks in advance.
The equation you’re looking for is
for some coefficients
A_1andCand for thex_ibeing the rectangular coordinates of a point on the plane. Substitute in the input points and you’ve got a set ofnsimultaneous equations which you can solve (up to a scale factor).