Function electro::topo::uniform_grid [] [src]

pub fn uniform_grid<U>(spacing: U, x_max: U, y_max: U) -> Matrix<[U; 2]> where
    U: NumCast + Float

Creates a grid spaced uniformly (as possible within type restrictions).