npm.io
0.0.1 • Published 11 years ago

vector-linspace

Licence
—
Version
0.0.1
Deps
0
Vulns
0
Weekly
0
Stars
1

linspace

DEPRECATED: use compute-linspace.

Create a vector of linearly spaced numbers.

Installation

$ npm install vector-linspace

Examples

var linspace = require( 'vector-linspace' );

var vector = linspace( 0, 1, 21 );

Tests

Unit tests use the Mocha test framework with Chai assertions.

Assuming you have installed Mocha, execute the following command in the top-level application directory to run the tests:

$ mocha

All new feature development should have corresponding unit tests to validate correct functionality.

License

MIT license.


Copyright 2014. Athan Reines.

Keywords