mathematic-lib

0.0.10 • Public • Published

Build Status

mathematic-lib

Library to simplify basic mathematical operation beetween two or more operand (arrays)

Install

npm i mathematic-lib

Basic usage

var mathematicLib = require('mathematic-lib')
mathematicLib.sum(4, 5) // => '9'
mathematicLib.multiply(4, 5) // => '20'

See spec.

Array usage

var mathematicLib = require('mathematic-lib')
var arrays = [2, 5, 10]
mathematicLib.sumArray(arrays) // => '17'
mathematicLib.multiplyArray(arrays) // => '100'

See spec.

Factorial usage

var mathematicLib = require('mathematic-lib')
mathematicLib.factorial(5) // => '120'

See spec.

Package Sidebar

Install

npm i mathematic-lib

Weekly Downloads

2

Version

0.0.10

License

ISC

Unpacked Size

3.41 kB

Total Files

5

Last publish

Collaborators

  • mamix84