Resize the matrix to dimensions given by ‘shape’, removing any non-zero elements that lie outside.
Enter search terms or a module, class or function name.