Negatory. Postpone Mission.
Unleash awesomeness. Private packages, team management tools, and powerful integrations. Get started with npm Orgs »

math2d

1.0.1 • Public • Published

math2d Build Status

The library provides basic operations with two-element arrays

how to use

    > var math2d = require('math2d')
    
    > math2d.add([1, 2], [2, 3])
    [3, 5]
    
    > math2d.sub([1, 2], [2, 3])
    [-1, -1]
    
    > math2d.sum([[1, 2], [3, 4], [5, 6]])
    [9, 12]
    
    > math2d.sum([1, 2])
    [1, 2]

licence

MIT

Keywords

install

npm i math2d

Downloadsweekly downloads

0

version

1.0.1

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability