Computation library.
- Installation
- Usage
- Utilities
- Array Creation
- Sorting and Reshaping Arrays
- Special Functions
- Arithmetic
- Relational Operations
- Logical Operations
- Trigonometry
- Geometry
- Sets
- Discrete Mathematics
- Linear Algebra
- Statistics
- Information Theory
- Fluent Interface
- Tests
- Contributing
- License
$ npm install compute.io
To use compute,
var compute = require( 'compute.io' );
The compute module is comprised of several smaller modules. If you want to roll your own compute, follow the links and import the individual modules.
The compute module has the following methods...
Unit tests use the Mocha test framework with Chai assertions. To run the tests, execute the following command in the top-level application directory:
$ make test
All new feature development should have corresponding unit tests to validate correct functionality.
This repository uses Istanbul as its code coverage tool. To generate a test coverage report, execute the following command in the top-level application directory:
$ make test-cov
Istanbul creates a ./reports/coverage
directory. To access an HTML version of the report,
$ make view-cov
Copyright © 2014-2015. The Compute.io Authors.