Crates.io | meshgrid |
lib.rs | meshgrid |
version | 0.1.0 |
source | src |
created_at | 2017-11-06 17:11:16.083343 |
updated_at | 2017-11-06 17:11:16.083343 |
description | Meshgrid functionality for Rust. |
homepage | |
repository | https://github.com/DimChtz/rust-meshgrid |
max_upload_size | |
id | 38369 |
size | 1,836 |
Meshgrid functionality for Rust.
for &(i, j) in meshgrid::new(1..3, 1..5).iter() {
println!("[{}, {}]", i, j);
// Do-stuff with i, j
}
Add this line to your Cargo.toml:
[dependencies]
meshgrid = "0.1.0"
and then add this line to your main.rs:
extern crate meshgrid;