use ``.ravel()`` doesn't copy unless necessary (flatten always does)