|
From: | Juergen Sauermann |
Subject: | Re: [Bug-apl] Power Operator (⍣) broken at svn 740 ? |
Date: | Mon, 13 Jun 2016 20:27:59 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 |
Hi, I see. Fixed in SVN 742. /// Jürgen On 06/13/2016 05:32 AM, Xiao-Yong Jin
wrote:
Hi Jüergen and Christian,Despite what is in their manual, dyalog seems to treat 1 scalar element vector as a scalar here, ⎕ML←2 FIB←{ 3↓ {⍵,+/¯2↑⍵}⍣{(↑⍵)≤¯3+⍴⍺ ⊣ ⎕←'debug:' (⍴⍵) 'vs' (⍴¯3+⍴⍺)} ⊢ ⍵, 0 1 } FIB 12 debug: 3 vs 1 debug: 4 vs 1 debug: 5 vs 1 debug: 6 vs 1 debug: 7 vs 1 debug: 8 vs 1 debug: 9 vs 1 debug: 10 vs 1 debug: 11 vs 1 debug: 12 vs 1 debug: 13 vs 1 debug: 14 vs 1 1 2 3 5 8 13 21 34 55 89 144 233 |
[Prev in Thread] | Current Thread | [Next in Thread] |