newRPL - build 1255 released! [updated to 1299]
12-17-2018, 02:08 PM
Post: #322
 Claudio L. Senior Member Posts: 1,880 Joined: Dec 2013
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.
 « Next Oldest | Next Newest »