Anonymous user
Find the intersection of two lines: Difference between revisions
Find the intersection of two lines (view source)
Revision as of 09:22, 19 December 2020
, 3 years ago→{{header|APL}}
m (→{{header|APL}}) |
m (→{{header|APL}}) |
||
Line 253:
⍝ The ( 4 1 ) matrix as the right argument.
⍝ ( 6 1 )
⍝
⍝ and inject 1, where needed, and return a pair (a, b) of resolved unknowns.
⍝ Applied twice, we
⍝ their intersection
⍝ y = ax + b
|