Kotlin/multik
Multidimensional array library for Kotlin
What it solves
Multik provides a multidimensional array (ndarray) library for Kotlin, filling the need for type-safe N-dimensional arrays, linear algebra, and statistical operations within the Kotlin ecosystem.
How it works
It offers a core API for ndarray types and operations, which can be powered by different engines depending on the performance and platform requirements:
- Pure Kotlin engine: A cross-platform implementation supporting JVM, JS, WasmJS, iOS, and desktop native.
- OpenBLAS engine: A native implementation using C++/JNI to provide high-performance acceleration on JVM and desktop native (Windows, macOS, Linux).
Who it’s for
Developers using Kotlin who need to perform mathematical computations, data analysis, or linear algebra across various platforms, including JVM, JavaScript, WebAssembly, and native mobile/desktop targets.
Highlights
- Multiplatform Support: Works across JVM, JS, WasmJS, iOS, and desktop native.
- Type-Safe Dimensions: Provides N-dimensional arrays with type safety.
- Flexible Engines: Choice between a pure Kotlin implementation and an OpenBLAS-backed native implementation for speed.
- Comprehensive Math API: Includes built-in support for linear algebra, statistics, and element-wise math operations.
Related
- Project
- Project
- Project
- Project
- Project