A TypeScript library for working with n-dimensional arrays.
- 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.
npm install ts-ndarray
# bun i ts-ndarray
import { NdArray } from 'ts-ndarray'
bun test
Please see our releases page for more information on what has changed recently.
Please see CONTRIBUTING for details.
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
“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 🌎
- Thanks to Mikola Lysenko for the original
ndarray
library,ndarray-linear-interpolate
,ndarray-pack
, andget-pixels
.
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.
The MIT License (MIT). Please see LICENSE for more information.
Made with 💙