Tacit programming: Difference between revisions

Content deleted Content added
APL family: The original APL was word salad (missing required multiplications)
Line 99:
cos ← 2 ○ ⊢
sin ← 1 ○ ⊢
EulerCalc← EulerDirect← cos + 0j1 × sin ⍝ 0j1 is what's usually written as i
EulerActual← ¯12○⊢ ⍝ Same as (*0J1×⊢)
⍝ Do the 2 methods produce the same result?
(EulerCheck← EulerActual=EulerCalc) ¯1 1 2 3
EulerCheck ¯1 1 2 3
1 1 1 1
⍝ Yes, so far so good!