1.1.0 • Published 6 years ago

jqr-poly v1.1.0

Weekly downloads
1
License
MIT
Repository
-
Last release
6 years ago

jqr-poly

Build Status

Polynomial arithmetics in node

Install

npm install jqr-poly

Usage

See the full docs here

Create a Polynomial

const jqrPoly = require('jqr-poly');
// 2x^2 + 1
let coefficients = [2, 0, 1];
let poly = jqrPoly.create(coefficients);

Add two Polynomials

const jqrPoly = require('jqr-poly');
// Create p1 & p2
let p1 = jqrPoly.create([1, 0]);
let p2 = jqrPoly.create([1, 0]);
// Add p1 + p2
p1.add(p2)
1.1.0

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago

0.0.2

7 years ago

0.0.1

7 years ago

0.0.0

7 years ago