Crates.io | nd_vec |
lib.rs | nd_vec |
version | 0.4.0 |
source | src |
created_at | 2023-11-26 16:02:32.045426 |
updated_at | 2023-12-11 22:31:05.410336 |
description | A compile time n-dimensional vector library. |
homepage | |
repository | https://github.com/Basicprogrammer10/nd-vec |
max_upload_size | |
id | 1049239 |
size | 18,350 |
A compile time n-dimensional vector library.
use nd_vec::vector;
let a = vector!(1, 2, 3);
let b = vector!(4, 5, 6);
println!("{:?}", a + b); // => (5, 7, 9)