Skip to content

martinsprojects/math-tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Math-Tools

A math library I made to learn and explore math

Import module

import mathtools as mt

Define a vector

a = mt.Vector([x, y])

Adding two vectors

a + b

Multiply vector by scalar

a * 0.78

Divide vector by scalar

a / 2

Normalize/unitize vector

a.unit

Dot product of two vectors

a.dot(b)

About

A library I made to learn and explore math

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages