Work in progress -- it is not intended for merging!
See the current branch and notebook
Math changes
Math related classes moved from core module to the math subpackage (tensor module is still in root the folder`).
Vector and matrix classes are not inherited from ndarray.
We use the typing module and type hints compatible with Python 2.7 (as comments).
...
Benchmarks
I plan to write more benchmarks but it seems that pure Python beats Numpy -- it is known that for small dimensions ndarray doesn't speed up the code, quite the opposite.
The __version__, __author__, __email__ are placed in apsg.__init__.py and parsed in setup.py. Package has not to be installed -- it works well.
The settings variable moved to setting module in the root folder.
Interactive mode is started with command apsg -i or apsg --interactive, previously it was ipasg. A help message is printed when apsg is entered without parameters. The shell module content was moved to standard __main__.py.
More parameters can be added in the future e.g run in JupyterLab, graphical mode and so on.
Improved interactive mode banner.
+------------------------------------------------------------------------------+
| APSG Toolbox | 0.6.1 |
| |
| http://ondrolexa.github.io/apsg |
| |
|------------------------------------------------------------------------------|
| You can abort process using CTRL-Z + ENTER |
+------------------------------------------------------------------------------+
>>>
New "math" subpackage
Work in progress -- it is not intended for merging! See the current branch and notebook
Math changes
core
module to themath
subpackage (tensor
module is still in root the folder`).ndarray
.Benchmarks
I plan to write more benchmarks but it seems that pure Python beats Numpy -- it is known that for small dimensions
ndarray
doesn't speed up the code, quite the opposite.Other changes
__version__
,__author__
,__email__
are placed inapsg.__init__.py
and parsed insetup.py
. Package has not to be installed -- it works well.settings
variable moved tosetting
module in the root folder.apsg -i
orapsg --interactive
, previously it wasipasg
. A help message is printed whenapsg
is entered without parameters. Theshell
module content was moved to standard__main__.py
. More parameters can be added in the future e.g run in JupyterLab, graphical mode and so on.