Skip to content

Releases: Siddhesh-Agarwal/matmath

Release 3.2.0

02 Jan 11:11
Compare
Choose a tag to compare
  • Completely moved away from twine in favour of poetry.
  • Rename __pow__ method to pow in Vector class.
  • Type hints added to all methods of both Matrix and Vector classes.
  • Refactored multiple methods across both classes to improve time/space complexity.
  • Added better type checking to __init__ method of Matrix class.
  • Better support for __matmul__ method in Vector and Matrix classes.

NOTE: Python 3.6 and 3.7 are still supported even though they have reached EOL.

Release 3.0.0

15 Feb 11:51
4457a39
Compare
Choose a tag to compare
  • 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 called Matrix.
  • Removed compatM() and compatAS() from Vector class.
  • Improved __init__, __iter__, __next__, __repr__ and __str__ methods in Vector class.
  • Added support for __matmul__ method and made changes to __mul__ method to Vector class.
  • removed __radd__, __rsub__ and __rmul__ methods from vector class (methods were not needed).
  • Added support for != and == operator to Vector class.
  • Created alias for arguement - arg in Vector class.
  • Added support for __radd__ and __rsub__ methods to Vector class.
  • Added minor() and cofactor() methods to Matrix class.
  • __setitem__ method in Vector class has ben deprecated.
  • x(), y() and z() methods in Vector 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

Full Changelog: v2.1.1...v3.0.0

Release v3.0.0rc1

11 Feb 14:34
86ad2fa
Compare
Choose a tag to compare
Release v3.0.0rc1 Pre-release
Pre-release
  • 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 called Matrix.
  • Removed compatM() and compatAS() from Vector class.
  • Improved __init__, __iter__, __next__, __repr__ and __str__ methods in Vector class.
  • Added support for __matmul__ method and made changes to __mul__ method to Vector class.
  • removed __radd__, __rsub__ and __rmul__ methods from vector class (methods were not needed).
  • Added support for != and == operator to Vector class.
  • Created alias for arguement - arg in Vector class.
  • Added support for __radd__ and __rsub__ methods to Vector class.
  • Added minor() and cofactor() methods to Matrix class.
  • __setitem__ method in Vector class has ben deprecated.

Release 2.1.1

12 Oct 05:53
df75dec
Compare
Choose a tag to compare
  • Corrected arguement() in Vector class.
  • Changed unitVector() to unit_vector() in Vector class.
  • Now call Vector(n) to generate a n-dimensional zero vector. n defaults to 2.
  • Corrected problem in rotate() in Vector class.

Release 2.1.0

11 Oct 16:11
b0c5252
Compare
Choose a tag to compare
  • Added __eq__ and __setitem__ methods to Vector class.
  • Improved time complexity of __len__ and modulus 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 and is_parellel methods.
  • Improved comments in matmath.py which can be accessed by using help() method.

Release 2.0.0

21 Jul 12:07
234c399
Compare
Choose a tag to compare

Added Vector support through class Vector.

Release-1.1.1

24 Jun 07:34
fdda9f2
Compare
Choose a tag to compare
  • Fixed order() function.

Release-1.1.0

24 Jun 07:17
2c0bebd
Compare
Choose a tag to compare
  • Replaced warnings with errors (ValueError).
  • Improved efficiency of Null(), Identity() and matSub().
  • Reduced SLOC.

Release-1.0.1

17 Jun 09:25
6a761b6
Compare
Choose a tag to compare
  1. Renamed mmath.py to matmath.py.
  2. Corrected spelling error.
  3. Fixed showwarning().

release-1.0.0

16 Jun 10:40
458ce03
Compare
Choose a tag to compare

matmath version 1.0.0 is here.

type pip install matmath in a terminal to download the module