magpack.structures.create_mesh#
- create_mesh(*args)#
Creates an N-dimensional mesh with the specified dimensions.
The number N is the number of arguments.
- Parameters:
- argsint | float | list of int | list of float | np.ndarray
The integer dimensions of the mesh or all points along the dimension.
- Returns:
- np.ndarray
N-dimensional mesh for the corresponding array.