A TypeScript library for working with n-dimensional arrays.
Features
- N-dimensional: Create and manipulate n-dimensional arrays.
- Multilinear Bilinear and trilinear interpolation for ndarrays.
- Images Utilities to read an image into an ndarray.
- Simple: A simple API for working with n-dimensional arrays.
- Fast: Built with performance in mind.
- Typed: Written in TypeScript.
Get Started
Installation
npm install ts-ndarray
# bun i ts-ndarrayUsage
import { NdArray } from 'ts-ndarray'
Testing
Changelog
Please see our releases page for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Community
For help, discussion about best practices, or any other conversation that would benefit from being searchable:
For casual chit-chat with others using this package:
Join the Stacks Discord Server
Postcardware
βSoftware that is free, but hopes for a postcard.β We love receiving postcards from around the world showing where ts-ndarray is being used! We showcase them on our website too.
Our address: Stacks.js, 12665 Village Ln #2306, Playa Vista, CA 90094, United States π
Credits
- Thanks to Mikola Lysenko for the original
ndarraylibrary,ndarray-linear-interpolate,ndarray-pack, andget-pixels.
Sponsors
We would like to extend our thanks to the following sponsors for funding Stacks development. If you are interested in becoming a sponsor, please reach out to us.
License
The MIT License (MIT). Please see LICENSE for more information.
Made with π
