Package Exports
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@jovjs/num.js) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
num.js
A powerful numerical computing library for JavaScript/TypeScript, inspired by NumPy.
Features
- Multi-dimensional array operations
- Linear algebra computations
- Statistical functions
- Broadcasting capabilities
- Type-safe API with TypeScript support
Installation
npm install num.js
# or
yarn add num.js
Usage
import { array, linalg } from 'num.js';
// Create a 2D array
const matrix = array([[1, 2], [3, 4]]);
// Perform matrix operations
const determinant = linalg.det(matrix);
Development
- Clone the repository:
git clone https://github.com/jovjs/num.js.git
cd num.js
- Install dependencies:
npm install
- Run tests:
npm test
- Build the library:
npm run build
Documentation
Full documentation is available at https://jovjs.github.io/num.js
Contributing
Contributions are welcome! Please read our Contributing Guide for details on our code of conduct and the process for submitting pull requests.
License
This project is licensed under the MIT License - see the LICENSE file for details.