Post Reply 
RPL mini-challenge: Create an anti-Identity Matrix
05-13-2018, 02:29 AM (This post was last modified: 05-13-2018 02:36 AM by Claudio L..)
Post: #10
RE: RPL mini-challenge: Create an anti-Identity Matrix
(05-12-2018 08:04 PM)Zaphod Wrote:  1st version 5.5secs ish
2nd version 3 secs ish
Thanks for the timings. Ouch, very slow...

(05-12-2018 10:00 PM)pier4r Wrote:  Why I don't see any Axl?

It's not going to be any faster, but perhaps more minimalist:
Code:

«
  IDN AXL NOT AXL 
»

EDIT: Here's a second attempt at an element-by-element method:

Code:

«
  → 
    N « 1 N FOR 'I' 1 N FOR 'J' I J ≠ 
      NEXT
    NEXT
    N N 2 →LIST →ARRY 
  »
»
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: RPL mini-challenge: Create an anti-Identity Matrix - Claudio L. - 05-13-2018 02:29 AM



User(s) browsing this thread: 2 Guest(s)