Cross-platform scientific library for Dart. The main goal of SciDart is run where Dart can run, in other words, run on Flutter, Dart CLI, Dart web, etc.
SciDart is a experimental cross-platform scientific library for Dart.
The main goal of SciDart is run where Dart can run, in other words, run on Flutter, Dart CLI, Dart web, etc.
Some time ago I tried make a guitar tuner (frequency estimator) with Flutter and I faced with the problem: Dart didn't have a unified scientific library. So, I tried implement something to help me and the community with this problem.
PUB link #
Link to the Pub repository: https://pub.dev/packages/scidart
You can follow instruction in the Pub web site: https://pub.dev/packages/scidart#-installing-tab-
The examples can be found in the project web site.
How to contribute #
I recommend see the Todo List and choose a task or choose and solve a problem with SciDart and implement the missing parts.
The references values for all function was obtained with SciPy. The contributions need use SciPy as reference too.
Every contribution needs have tests, documentation and examples, otherwise, the pull request will be blocked.
Todo list #
- [ ] construct codes for benchmark tests
- [ ] made benchmark for Android devices
- [ ] made benchmark for iOS devices
- [ ] made benchmark on Web
- [ ] made benchmark on Linux
- [ ] made benchmark on MacOS
- [ ] made benchmark on MS Windows
Code implementations #
- [x] complex numbers algebra
- [x] polyfit
- [x] documentation with examples
- [x] function to time the execution of a process
- [x] circular convolution
- [x] convolution
- [x] random
- [x] separate fast math
- [x] test fast math
- [x] refactor array, array2d, arrayComplex, Complex class to be more functional
- [x] write matrix operations tests
- [x] implement determinant calculation
- [x] integration and derivation
- [x] filter FIR
- [x] dbConverters
- [x] write some examples: simples uses, frequency estimator
- [x] write readme
- [ ] write other examples: step counter, FM modulation, AM modulation;
- [ ] filter IIR
- [ ] generate a plot in memory (delegated to https://stackoverflow.com/questions/43703802/flutter-draw-graphs-on-the-screen)
- [ ] logSpace (https://docs.scipy.org/doc/numpy-1.15.0/reference/generated/numpy.logspace.html)
- [ ] write a REPL to interact with the lib (Need support Dart SDK > 2 : https://medium.com/dartlang/dart-repl-poc-f327e3769b6f)
- [x] publish package
- [x] show to the community