math-object

1.0.0 • Public • Published

Math Object

Version Download Build Status

本项目试图用对象表示点、矢量等,使数学运算更加简单。

Install

npm install math-object

or

<script src="math-object.js"></script>

API Doc

  • getDistanceByPoint
  • getPointByVector
  • getPointByPoint
  • getMiddlePointByPoint
  • getPointsBesideConnection
  • getPointsBesideMiddlePoint
  • getVectorByPoint
  • mergeVector
  • getOppositeVector
  • getVerticalVector
  • getOpposite
  • getReciprocal
  • getDivisors
  • getGreatestCommonDivisor
  • getLeastCommonMultiple

Readme

Keywords

Package Sidebar

Install

npm i math-object

Weekly Downloads

2

Version

1.0.0

License

MIT

Unpacked Size

119 kB

Total Files

23

Last publish

Collaborators

  • xiaoda