pub fn meshgrid(x: Array, y: Array) -> Result<Map, Box<EvalAltResult>>
Expand description
Returns an object map containing 2-D grid coordinates based on the uni-axial coordinates contained in arguments x and y.
let x = [1, 2];
let y = [3, 4];
let g = meshgrid(x, y);
assert_eq(g, #{"x": [[1, 2],
[1, 2]],
"y": [[3, 3],
[4, 4]]});