newRPL  build 1255 released! [updated to 1299]

12192019, 11:43 PM
(This post was last modified: 12192019 11:45 PM by Claudio L..)
Post: #624




RE: newRPL  build 1255 released! [updated to 1299]
All ROMs updated to build 1320.
Most important changes in this update: * New command MMAP, similar to MAP but for matrices/vectors. It takes a program or a symbolic and applies it to all elements. It defines variables i,j for the program to know the position of wach item, as well as Aij for the symbolic to know the existing element. For example: [ 10 20 30 ] 'Aij+j' MMAP > [ '10+1' '20+2' '30+3' ] * Various improvements to the assemblylike opcodes, the wiki was updated to reflect the latest changes already. It adds AND, OR and XOR and better flag management to improve the ability to code complex logic for IF style statements (see the examples in the wiki). * Encoding of attributes for variables is now userreadable. Syntax is similar to what was described in this post, but added as a postfixtag to the ident. For example, 'X*0' EVAL won't autosimplify to 0, because X could be infinite. To indicate the system that X is finite, real and positive, use 'X*0' 'X:R≥0:' ASSUME, then EVAL or AUTOSIMPLIFY will apply the proper simplification and return 0. * New operator "giventhat" symbol '' is not implemented. It applies a mix of hints or rules to an expression: 'X+3X:→4' EVAL will return 7, regardless of the value of X. You can apply more than one rule/hint by using parenthesis and the argument separator: 'X^2/Y(X:→Y^2,Y:R: )' will replace X with Y^2 and then hint that Y is real and finite. EDIT: I had to edit the formula above to prevent the : and the ) from forming an emoticon. There should be no space after :. That's it for now, please review and report bugs. PS: The PROOT infinite loop reported in a recent post is due to numerical instability of the solution for higher grade polynomials, I'm still looking for a way to let the algorithm adapt and use more precision if needed. 

« Next Oldest  Next Newest »

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