Fibonacci
Fibonacci is both a symbolic RPN calculator using Sympy with a programmable calculator using exprtk c++ for procedural operations.
The RPN front end is based on Richard Rondu's https://github.com/lainwir3d/sailfish-rpn-calculator
Many exprtk bits were developed with Babbage in mind.
The openrepos, chum and github versions include a keyboard called programmers which you can enable from Settings -> Text input -> Programmers keyboard.
This is very much WIP. QML, Python and c++ parts are quickly evolving or being re-factored. It may eat your machine. But I like it. If you're looking for a highly capable calculator that is not RPN/programmable: https://openrepos.net/content/syrja/speedcrunch Speedcrunch is great.
I've extended the Sympy RPN calculator with an interface to exprtk for programmable calculations. Eventually, I'll expose the sympy interfaces in a similar fashion.
I'm also planning to add interfaces for integrals, derivatives and limits based on the work of
Roberto Colistete Junior.
Notes:
* The Sympy and mpmath libraries are a bit old.
* pi, phi, epsilon and inf are constants. sympy has a few more.
* The exprtk interface can be made to blow up fairly readily. Don't write 'while(x+=1<12)'. Write 'while( (x+=1) < 12)' and you'll be fine :) I'm working on some safeguards, but it's a very free interface (ie. fire and forget).
* The exprtk interface comes with some predefined variables.
- x,y,z at 0
- r[2] {0,1} intended as a shift register
- a[10] intended as an accumulator. This you can use to gather results of steps.
I'm working on more documentation.
Issues and suggestions and PRs are welcome at https://github.com/poetaster/fibonacci
Category:
Keywords:
Attachment | Size | Date |
---|---|---|
harbour-fibonacci-0.9.1-1.aarch64.rpm | 7.24 MB | 11/05/2023 - 20:18 |
harbour-fibonacci-0.9.1-1.armv7hl.rpm | 7.14 MB | 11/05/2023 - 20:20 |
harbour-fibonacci-0.9.1-1.i486.rpm | 7.27 MB | 11/05/2023 - 20:20 |
harbour-fibonacci-1.0.0-1.aarch64.rpm | 7.24 MB | 15/05/2023 - 12:15 |
harbour-fibonacci-1.0.0-1.armv7hl.rpm | 7.14 MB | 15/05/2023 - 12:15 |
harbour-fibonacci-1.0.0-1.i486.rpm | 7.27 MB | 15/05/2023 - 12:15 |
harbour-fibonacci-1.0.1-2.i486.rpm | 12.08 MB | 20/06/2023 - 13:11 |
harbour-fibonacci-1.0.1-2.armv7hl.rpm | 11.95 MB | 20/06/2023 - 13:11 |
harbour-fibonacci-1.0.1-2.aarch64.rpm | 12.05 MB | 20/06/2023 - 13:11 |
v1.0.1 library updates
- speedier 1.9.x sympy
- ln() to log() for exprtk (which has natural e log)
v.1.0.0 - settings fix release
- corrects the path to settings
- saves recent vars and last formula from programmers to settings
- small adjustments to keyboard
- add deg() function abbreviation
v0.9.1 - https://github.com/poetaster/fibonacci/releases/tag/v0.9.1
- fix shl/shr
- add phi constant to sympy and exprtk backends, keyboards. I mean, really.
v0.9-2 - Initial release.
Laatste reacties