Find the intersection of two lines: Difference between revisions

m
Line 246:
⍝ APL has a powerful operator the « dyadic domino » to solve a system of N linear equations with N unknowns
⍝ We use it first to solve the a and b, defining the 2 lines as y = ax + b, with the x and y of the given points
SystemThe system of equations for linefirst 1line will be:
⍝ 0 = 4a + b
⍝ 10 = 6a + b
Anonymous user