Skip to content

minamiyama1994/python-vector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

python-vector

A module of Euclidean vector for Python

How to use

from vector import vector
v1 = vector([1,3])
v2 = vector([3,-1])
print str(v1) # => [1,3]
print str(v1 v2) # => [4,2]
print str(v1-v2) # => [-2,4]
print str(v1*v2) # => 0
print abs(v1) # => 3.16227766017
# and so on.
# please read 'sample.py'

About

A module of Euclidean vector for Python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages