twodlearn.core.array module¶
-
twodlearn.core.array.expand_dims_left_like(x, y)[source]¶ add dimensions on the left to match the number of dimensions in y
-
twodlearn.core.array.mesh2array(mesh)[source]¶ convert a 2d mesh created with np.meshgrid to an matrix representation