#linear-algebra #basic #routines #product #dot #native #dot-product

dotzilla

Native Rust implementation of efficient basic linear algebra routines

2 unstable releases

0.2.0 Jan 22, 2025
0.1.0 Aug 29, 2024

#493 in Math

Download history 3/week @ 2024-10-09 3/week @ 2024-10-16 4/week @ 2024-10-30 5/week @ 2024-11-06 1/week @ 2024-11-13 5/week @ 2024-12-04 5/week @ 2024-12-11 132/week @ 2025-01-22

132 downloads per month

Apache-2.0

19KB
399 lines

Dotzilla

Efficient Rust implementation of basic linear algebra routines.

Installation

Run the following command in your project directory:

cargo add dotzilla

Or add the following line to your Cargo.toml:

[dependencies]
dotzilla = "0.2.0"

Usage

/// Example
use dotzilla::dot_product;

let a = vec![1.0f32, 2.0, 3.0];
let b = vec![4.0f32, 5.0, 6.0];
assert_eq!(dot_product(&a, &b), 32.0);

lib.rs:

High-performance dot_product with automatic SIMD dispatch

No runtime deps