In n-dimensional space, two non-parallel hyperplanes will intersect at a hyperplane one dimension below the current hyperplane dimension. (Two lines intersect at a point, two planes at a line, two 4D hyperplanes at a plane, etc.) I know at least 1 method to find where this intersection occurs:
v + w + x + y + z = 4
v + 2w + 3x + 4y + 5z = 7
then
v = 4 - w - x - y - z
gives
(4 - w - x - y - z) + 2w + 3x + 4y + 5z = 7
and finally
w + 2x + 3y + 4z = 3
is the hyperplane where the two higher dimensional hyperplanes intersect.
My problem is, I don't fully see how to translate this method into a C++ program. Any suggestions? Thanks!
The aim is to eliminate one of the variables. The procedure is:
v
). v
in equation B, and vice versa.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.