https://github.com/teddyoweh/vector-algorithms
aSolving vectors related problem ( Vector Magnitude, Vector Dot Product, Vector Angle)
https://github.com/teddyoweh/vector-algorithms
algorithm-challenges algorithms dotproduct scalar vector
Last synced: 3 months ago
JSON representation
aSolving vectors related problem ( Vector Magnitude, Vector Dot Product, Vector Angle)
- Host: GitHub
- URL: https://github.com/teddyoweh/vector-algorithms
- Owner: teddyoweh
- Created: 2022-04-28T09:47:22.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-04-28T10:04:05.000Z (about 3 years ago)
- Last Synced: 2025-03-24T00:24:05.268Z (4 months ago)
- Topics: algorithm-challenges, algorithms, dotproduct, scalar, vector
- Language: Jupyter Notebook
- Homepage:
- Size: 2.93 KB
- Stars: 9
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Vector Algorithms
Solving vectors related problem ( Vector Magnitude,Vector Dot Product, Vector Angle)# Usage
```Python
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```