/Vector-Algorithms

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

Primary LanguageJupyter Notebook

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