Releases: Siddhesh-Agarwal/matmath
Releases · Siddhesh-Agarwal/matmath
Release 3.2.0
- Completely moved away from twine in favour of poetry.
- Rename
__pow__method topowinVectorclass. - Type hints added to all methods of both
MatrixandVectorclasses. - Refactored multiple methods across both classes to improve time/space complexity.
- Added better type checking to
__init__method ofMatrixclass. - Better support for
__matmul__method inVectorandMatrixclasses.
NOTE: Python 3.6 and 3.7 are still supported even though they have reached EOL.
Release 3.0.0
- Made multiple corrections that solved a few significant bugs.
matmath.pyhas been converted from a simple function definitions into a full-fledged function class calledMatrix.- Removed
compatM()andcompatAS()fromVectorclass. - Improved
__init__,__iter__,__next__,__repr__and__str__methods inVectorclass. - Added support for
__matmul__method and made changes to__mul__method toVectorclass. - removed
__radd__,__rsub__and__rmul__methods from vector class (methods were not needed). - Added support for
!=and==operator toVectorclass. - Created alias for
arguement-arginVectorclass. - Added support for
__radd__and__rsub__methods toVectorclass. - Added
minor()andcofactor()methods toMatrixclass. __setitem__method inVectorclass has ben deprecated.x(),y()andz()methods inVectorclass have ben deprecated. (using indexing instead)- improved importing.
Now you can use:
from matmath import Matrix, Vector
instead of importing like this:
from matmath.matmath import Matrix, Vector
What's Changed
- Create CODE_OF_CONDUCT.md by @Siddhesh-Agarwal in #5
Full Changelog: v2.1.1...v3.0.0
Release v3.0.0rc1
- Made multiple corrections that solved a few significant bugs.
matmath.pyhas been converted into from a simple function definitions into a full fledge function class calledMatrix.- Removed
compatM()andcompatAS()fromVectorclass. - Improved
__init__,__iter__,__next__,__repr__and__str__methods inVectorclass. - Added support for
__matmul__method and made changes to__mul__method toVectorclass. - removed
__radd__,__rsub__and__rmul__methods from vector class (methods were not needed). - Added support for
!=and==operator toVectorclass. - Created alias for
arguement-arginVectorclass. - Added support for
__radd__and__rsub__methods toVectorclass. - Added
minor()andcofactor()methods toMatrixclass. __setitem__method inVectorclass has ben deprecated.
Release 2.1.1
- Corrected
arguement()inVectorclass. - Changed
unitVector()tounit_vector()inVectorclass. - Now call
Vector(n)to generate a n-dimensional zero vector. n defaults to 2. - Corrected problem in
rotate()inVectorclass.
Release 2.1.0
- Added
__eq__and__setitem__methods toVectorclass. - Improved time complexity of
__len__andmodulusmethod. - Rectified error in
__add__and__sub__method. __init__can now handle lists and arrays apart from numbers as an arguement.- Improvised
__repr__method. A vector now looks like this<1, 0, 0>instead of[1, 0, 0]. - Added
is_unitandis_parellelmethods. - Improved comments in
matmath.pywhich can be accessed by usinghelp()method.
Release 2.0.0
Added Vector support through class Vector.
Release-1.1.1
- Fixed
order()function.
Release-1.1.0
- Replaced warnings with errors (ValueError).
- Improved efficiency of
Null(),Identity()andmatSub(). - Reduced SLOC.
Release-1.0.1
- Renamed
mmath.pytomatmath.py. - Corrected spelling error.
- Fixed
showwarning().
release-1.0.0
matmath version 1.0.0 is here.
type pip install matmath in a terminal to download the module