RPL+

Announcements of available shared folders

RPL+

Postby oliver » Fri Apr 22, 2011 12:24 pm

RPL+ examples, compared to equivalent RPL code.
See http://naivedesign.com/ND1/ND1_Reference__RPL+.html for information on RPL+ and a walk-through of the first RPL+ example.

Needs the Bench folder.

Tap the ⌛xxx keys to run code and get timing information.

p_rpl RPL code to compute the number of partitions of an Integer
⌛p_rpl runs p_rpl and reports timing
p_rpl+ RPL+ code to compute the number of partitions of an Integer
⌛p_rpl+ runs p_rpl+ and reports timing

Note, a faster JavaScript implementation for p(n) is in the Number Theory folder.
oliver
Site Admin
 
Posts: 433
Joined: Sat May 01, 2010 2:11 pm

Updated

Postby oliver » Thu May 19, 2011 4:39 pm

Version 1.3.8 extends the [] operator to strings and this folder has been updated with an example that makes use of it.

s2l_xxx converts a string into an array of its (Unicode) character codes.
To allow speed comparisons, versions in RPL, RPL+, JavaScript, and RPL+ using a new MorphEngine string instruction (split) are provided.
oliver
Site Admin
 
Posts: 433
Joined: Sat May 01, 2010 2:11 pm

More RPL+ code

Postby oliver » Thu May 26, 2011 3:11 am

More RPL+ example code can be found in the new Project Euler shared folder.
oliver
Site Admin
 
Posts: 433
Joined: Sat May 01, 2010 2:11 pm


Return to Downloadable Folders / Shared Data

Who is online

Users browsing this forum: No registered users and 1 guest

cron