Post Reply 
newRPL - build 1255 released! [updated to 1299]
12-17-2018, 02:08 PM
Post: #322
RE: newRPL - build 1089 released! [update:build 1127]
All ROMs and Android app updated to build 1140 at the usual place.

This rom has as a main feature the new symbolic rules engine, which will form the basis of most CAS commands, allowing to reach a much closer match to the original 50g.
Most old CAS commands should be able to be coded simply as applying a set of rules to the input.

The wiki now has a section explaining how to use the new rules engine.
The AUTOSIMPLIFY command is the only one for now that uses a few rules, more will come soon.
Here's a simple teaser experiment, implementing a function DER(f(u),u) that computes derivatives of polynomial functions:

Code:

{
'DER(.xU,.xU):→1'
'DER(-.xU,.xDU):→(-DER(.xU,.xDU))'
'DER(.xU+.XV,.xDU):→DER(.xU,.xDU)+DER(.XV,.xDU)'
'DER(.nK*.XU,.xDU):→.nK*DER(.XU,.xDU)'
'DER(.nK,.xDU):→0'
'DER(.xU^.in,.xDU):→.xU^(.in-1)*.in*DER(.xU,.xDU)'
}

Simply put your symbolic polynomial expression as 'DER(3*X^3-2*X^2+7*X+0,X)', place the list above in the stack and run RULEAPPLY.
You may need an AUTOSIMPLIFY at the end to do some additional cleanup.

Please test and report any issues you find on this new engine.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: newRPL - build 1001 released! - pier4r - 12-16-2017, 08:03 AM
newRPL - on Hp 39gs - Martin Hepperle - 06-05-2019, 06:51 AM
RE: newRPL - build 1001 released! - pier4r - 12-23-2017, 10:16 AM
RE: newRPL - build 1001 released! - pier4r - 01-01-2018, 09:42 AM
t - Claudio L. - 01-01-2018, 03:06 PM
RE: newRPL - build 1001 released! - pier4r - 01-01-2018, 03:41 PM
RE: newRPL - build 1001 released! - pier4r - 01-02-2018, 04:54 PM
RE: newRPL - build 1001 released! - pier4r - 01-02-2018, 06:58 PM
newRPL - brickviking - 10-05-2018, 06:01 AM
RE: newRPL - build 1089 released! [update:build 1127] - Claudio L. - 12-17-2018 02:08 PM
How to participate? - erazor - 12-13-2019, 07:12 AM



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