newRPL - build 1255 released! [updated to 1299]
|
01-25-2019, 03:25 PM
Post: #366
|
|||
|
|||
RE: newRPL - build 1089 released! [update:build 1157]
(01-25-2019 02:50 PM)The Shadow Wrote: AUTOSIMPLIFY still doesn't turn 'X*X' to 'X^2', or 'X/X' to '1'. It does change 'X^2/X' to 'X', though, so that flag must be on. Are those flags somewhere in the menu system, btw? If not, how do we change them? Well of course, I finished the engine, tested and released, but didn't get to review and update the AUTOSIMPLIFY rules to actually use the new features. As of right now, there's no rule that would match 'X*X', I did 'm*X+n*X' and 'X+m*X', but forgot to include the simplest case That's where I need help: to come up with the best rule set possible for all the different commands. I want 'X/X' simplified to 1 but using attributes to only match real/complex variables that can't be zero. Same for 'X^m/X^n'. (01-25-2019 02:50 PM)The Shadow Wrote: 'SQRT(X)' gets changed to 'X^(1/2)' but not back, as in the original set of rules. What rules does AUTOSIMPLIFY use now? Below is what I have so far (pasted from the source code, it's plain RPL so there's nothing difficult). Flags are as follows: -70 (when set) disables all rule processing in AUTOSIMPLIFY (it still does only trivial numeric reductions like fraction additions, but no algebraic manipulation) -71 to -78 (when set) disables rules in groups 1 through 8. The 8 groups are as defined as per the comments in the source code: Code:
|
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)