1.0.0 • Published 8 years ago

vandermonde-matrix v1.0.0

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

node-vandermonde-matrix Build Status

In linear algebra, a Vandermonde matrix is a matrix with the terms of a geometric progression in each row, i.e., an m × n matrix. see more

vandermonde matrix d

Install

$ npm install --save vandermonde-matrix

Usage

var vandermondeMatrix = require('vandermonde-matrix');

vandermondeMatrix([1, 2, 3], 3);
//=> [[1, 1, 1], 
//    [1, 2, 4], 
//    [1, 3, 9]]

API

vandermondeMatrix(terms, degree)

terms

Required
Type: Array

degree

Required Type: number

License

MIT © Vinícius do Carmo

1.0.0

8 years ago

0.0.2

9 years ago

0.0.1

9 years ago