Skip to content

Latest commit

 

History

History
12 lines (10 loc) · 405 Bytes

README.md

File metadata and controls

12 lines (10 loc) · 405 Bytes

Vector Algorithms

Solving vectors related problem ( Vector Magnitude,Vector Dot Product, Vector Angle)

Usage

vec = Vector() # Initialization
vec.inputs('3,-5','8,12') # Parsing input vectors
vec.Magnitude('4,5') # Calculate the magnitude of the vector parse
vec.DotProduct() #Calculates the dot product of the vectors parsed
vec.Angle() # Calculates the angle of the between vectors