kmath
kmath copied to clipboard
Create a middle-layer module for numpy-like operations
The idea is to have an intermediate module with a number of top-level extensions, which create a numpy-like experience and are specialized for work with Double
.
Need a name for that. Maybe assembly
?
Proof of concept by @thomasnield: https://github.com/thomasnield/numky
Why assembly?
Because I think of basic modules as building blocks for your work. And this one assembles need blocks for a frequently used purpose. I am open to alternatives. Numpy association is good for publicity, but the problem is kmath
does not work like numpy inside (for example we encourage to use functions), so it could be a source of confusion.
This one should go to the new module. It replaces deprecated Vector
and is optimized to work with real numbers. Corresponding test should go there as well.
Trying to put this together in dev-pk
branch. Name for the new module is currently kmath-for-real
.
Only the documentation is missing now.
On my (long) TODO list.