Numru is a cutting-edge scientific computation library designed for high performance and flexibility, tailored for numerical operations in Rust. Drawing inspiration from a well-known library, it aims to be the foundational tool for scientific computing, enabling users to easily integrate complex numerical computations into their projects.
Numru is a high-performance scientific computation library developed in Rust, designed to provide an efficient, user-friendly, and flexible API for numerical operations. Drawing inspiration from the widely-used NumPy library in Python, Numru aims to establish itself as a foundational tool for scientific computing within the Rust ecosystem.
i64 and f64, with plans to expand to additional types such as i8, i16, i32, u8, u16, f32, among others.Numru allows for easy initialization and manipulation of arrays. Here’s a simple example demonstrating how to create and visualize arrays:
fn main() {
let a = arr![42, -17, 256, 3, 99, -8];
println!("a.shape() = {:?}", a.shape());
a.visualize();
let b = arr![[TAU, -PI, 1.61], [E, 0.98, -7.42], [4.67, -0.45, 8.88]];
println!("\nb.shape() = {:?}", b.shape());
b.visualize();
let c = arr![
[[101, 202, 303], [404, 505, 606]],
[[-707, -808, -909], [111, 222, 333]]
];
println!("\nc.shape() = {:?}", c.shape());
c.visualize();
}
Numru is actively evolving, with a variety of numerical operations and data types planned for future releases. Some operations that will be supported include:
Overall, Numru is positioned to become a vital resource in scientific computation, combining performance advantages with the safety of the Rust programming language.
No comments yet.
Sign in to be the first to comment.