Releases: Siddhesh-Agarwal/matmath
Releases · Siddhesh-Agarwal/matmath
Release 3.2.0
- Completely moved away from twine in favour of poetry.
- Rename
__pow__
method topow
inVector
class. - Type hints added to all methods of both
Matrix
andVector
classes. - Refactored multiple methods across both classes to improve time/space complexity.
- Added better type checking to
__init__
method ofMatrix
class. - Better support for
__matmul__
method inVector
andMatrix
classes.
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.py
has been converted from a simple function definitions into a full-fledged function class calledMatrix
.- Removed
compatM()
andcompatAS()
fromVector
class. - Improved
__init__
,__iter__
,__next__
,__repr__
and__str__
methods inVector
class. - Added support for
__matmul__
method and made changes to__mul__
method toVector
class. - removed
__radd__
,__rsub__
and__rmul__
methods from vector class (methods were not needed). - Added support for
!=
and==
operator toVector
class. - Created alias for
arguement
-arg
inVector
class. - Added support for
__radd__
and__rsub__
methods toVector
class. - Added
minor()
andcofactor()
methods toMatrix
class. __setitem__
method inVector
class has ben deprecated.x()
,y()
andz()
methods inVector
class 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.py
has been converted into from a simple function definitions into a full fledge function class calledMatrix
.- Removed
compatM()
andcompatAS()
fromVector
class. - Improved
__init__
,__iter__
,__next__
,__repr__
and__str__
methods inVector
class. - Added support for
__matmul__
method and made changes to__mul__
method toVector
class. - removed
__radd__
,__rsub__
and__rmul__
methods from vector class (methods were not needed). - Added support for
!=
and==
operator toVector
class. - Created alias for
arguement
-arg
inVector
class. - Added support for
__radd__
and__rsub__
methods toVector
class. - Added
minor()
andcofactor()
methods toMatrix
class. __setitem__
method inVector
class has ben deprecated.
Release 2.1.1
- Corrected
arguement()
inVector
class. - Changed
unitVector()
tounit_vector()
inVector
class. - Now call
Vector(n)
to generate a n-dimensional zero vector. n defaults to 2. - Corrected problem in
rotate()
inVector
class.
Release 2.1.0
- Added
__eq__
and__setitem__
methods toVector
class. - Improved time complexity of
__len__
andmodulus
method. - 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_unit
andis_parellel
methods. - Improved comments in
matmath.py
which 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.py
tomatmath.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