- Rust 98%
- C++ 2%
| examples | ||
| include | ||
| src | ||
| .gitignore | ||
| build.rs | ||
| Cargo.toml | ||
| LICENSE | ||
| README.md | ||
Elara Array (Community Edition)
This crate provides a minimalist, fast, n-dimensional array for Project Elara with minimal dependencies. Note: this crate was once part of elara-math, but has been extracted into a standalone crate for separate development.
Note: There are two versions of Elara Array. Elara Array's original edition is public domain, but developed slowly. This repository houses Elara Array's community edition, which is licensed under a highly-permissive MIT license and is developed at a much more rapid pace. As such, the community edition is the recommended repository for new features requests and PRs.
Basic usage
use elara_array::prelude::*;
fn main() {
let a = arr![[1.0, 2.0], [3.0, 4.0]];
println!("{:?}", a);
}
Design goals
elara-array is designed to be a minimalist library focused on a high-performance implementation of N-dimensional arrays on the CPU. GPU-accelerated arrays (tensors) are not within the scope of elara-array, but since the array implementation is very transparent, you are welcome to write your own code to transfer/copy the data from elara-array's arrays to the GPU. In addition, elara-math, which is built on elara-array, is working on having this functionality built-in.