0.0.6 (2021-11-07)
Highlights: Major overhaul of linear algebra functionality, better package structure and a test suite.
- FEATURE: All vector and vector array classes expose
ndim
, number of dimensions. - FEATURE: Common base class,
Vector
, for all vector classes. - FEATURE: Common base class,
VectorArray
, for all vector array classes. - FEATURE: Vector arrays are iterators.
- FEATURE: Added missing right-hand-side operators to
Vector
andVectorArray
classes. - FEATURE: Tuple export of
VectorArray
types can optionally provide direct access to underlyingndarray
s, i.e. newcopy
parameter can be set toFalse
. - FEATURE: 3D vectors and vector arrays can export geographic coordinates.
- FEATURE: The
Color
class, using RGBA internally, can now import HSV values. - FEATURE: Added equality check, "is close" check, tuple export and copy to
Matrix
. - FEATURE: Added new
MatrixArray
class. - FEATURE: New dedicated sub-module for core animation engine named
bewegung.animation
. - FEATURE: New dedicated sub-module for
DrawingBoard
namedbewegung.drawingboard
, now allowing direct import. - FEATURE: New dedicated sub-module for linear algebra named
bewegung.lingalg
. - FEATURE: All linear algebra classes have consistent dtype and error handling.
- FEATURE: Cleanup of internal type hierarchy.
- FEATURE: Added test suite with some initial tests, based on
pytest
,hypothesis
andcoverage
. - API CHANGE: Vector array method
update_from_vector
renamed toupdate_from_vectorarray
. - API CHANGE:
Vector2Ddist
andVectorArray2Ddist
removed in favor of meta data dictionaries within all vector, vector array, matrix and matrix array classes. - FIX: Development dependency switched from unmaintained
python-language-server
to maintained forkpython-lsp-server
. - FIX: Imports in
contrib
were broken. - FIX:
test
target inmakefile
was broken. - FIX:
typeguard
was not really an optional dependency.