meshgrid 0.1.0

Meshgrid functionality for Rust.
Documentation

rust-meshgrid (meshgrid) - v0.1.0

Meshgrid functionality for Rust.

Examples

2D loop.

for &(i, j) in meshgrid::new(1..3, 1..5).iter() {

        println!("[{}, {}]", i, j);
        
        // Do-stuff with i, j
}

Installation

Add this line to your Cargo.toml:

[dependencies]
meshgrid = "0.1.0"

and then add this line to your main.rs:

extern crate meshgrid;