Find the intersection of two lines: Difference between revisions

Content added Content deleted
Line 260: Line 260:
⍝ y = a'x + b'
⍝ y = a'x + b'
⍝ In order to reuse the same solver, we need to format a little bit the arguments, and change the sign of a and a', therefore
⍝ In order to reuse the same solver, we need to format a little bit the arguments, and change the sign of a and a', therefore
⍝ multiply (a,b) by (-1, 1):
⍝ multiply (a,b) and (a', b') by (-1, 1):
⍝ b = -ax + y
⍝ b = -ax + y
⍝ b' = -a'x + y
⍝ b' = -a'x + y