EMS-TU-Ilmenau / fastmat

A library to build up lazily evaluated expressions of linear transforms for efficient scientific computing.
https://fastmat.readthedocs.io
Apache License 2.0
24 stars 8 forks source link

Refactor core.cmath._op() to use striding operations #73

Open ChristophWWagner opened 5 years ago

ChristophWWagner commented 5 years ago

The striding access in core.strides currently allows slicing existing ndarray views that allow flexible access of array slices. Since core.cmath._op() basically offers two variants of basic MAC operations it could be of advantage to call them by their names and to reflect this abstract connection by the actual implementation.

By introducing operations that work on some sort of stride pointer (with a defined incrementation behaviour) one could separate an operation from

Doing so will have the following positive effects: