Find all n-dimensional lines and diagonals with NumPy Find all n-dimensional lines and diagonals with NumPy numpy numpy