Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Vectors and matrices in Python 3.x

Is there a good Python 3 library for vectors and matrices?

Here's some of the functionality I expect to find in such a library:

  • matrix multiplication
  • matrix determinant
  • euclidean distance between two vectors
  • cosine similarity between two vectors
  • convolution
like image 895
snakile Avatar asked Dec 28 '22 02:12

snakile


2 Answers

The 1.5 version of numpy is compatible with Python 3.

like image 89
Aphex Avatar answered Dec 30 '22 17:12

Aphex


U can download numpy for python 3: http://sourceforge.net/projects/numpy/files/NumPy/1.5.1/numpy-1.5.1-win32-superpack-python3.1.exe/download

Its the best tool in the python for world for what u need

like image 22
hugo24 Avatar answered Dec 30 '22 17:12

hugo24