in reply to Re^2: The intersection of M hyperplanes (Ndim)
in thread The intersection of M hyperplanes (Ndim)
taking two vectors, for them to be collinear there must exist one k != 0 such that for all coordinate d: d1 = k * d2
Obviously d1 == 0 iff d2 == 0 because k != 0 !!!
But if one coordinate is 0 for both it doesn't matter which k is chosen for the other ones.
Isn't it obvious now?
You check all coordinates in a loop and break if
Cheers Rolf
(addicted to the Perl Programming Language :)
see Wikisyntax for the Monastery
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: The intersection of M hyperplanes (Ndim)
by bliako (Abbot) on Jul 19, 2024 at 11:10 UTC | |
by LanX (Saint) on Jul 19, 2024 at 12:58 UTC | |
by bliako (Abbot) on Jul 19, 2024 at 14:00 UTC |