kmath icon indicating copy to clipboard operation
kmath copied to clipboard

Create a middle-layer module for numpy-like operations

Open altavir opened this issue 5 years ago • 7 comments

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?

altavir avatar Jun 07 '19 06:06 altavir

Proof of concept by @thomasnield: https://github.com/thomasnield/numky

altavir avatar Jun 07 '19 06:06 altavir

Why assembly?

thomasnield avatar Jun 07 '19 11:06 thomasnield

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.

altavir avatar Jun 07 '19 13:06 altavir

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.

altavir avatar Jul 17 '19 11:07 altavir

Trying to put this together in dev-pk branch. Name for the new module is currently kmath-for-real.

pklimai avatar Aug 07 '19 18:08 pklimai

Only the documentation is missing now.

altavir avatar Oct 13 '20 02:10 altavir

On my (long) TODO list.

pklimai avatar Oct 13 '20 11:10 pklimai