Invert a square matrix.
m (array_like) – Square matrix to invert. Inputs can be 4x4, 3x3 or 2x2.
out (ndarray, optional) – Optional output array. Must be same shape and dtype as the expected output if out was not specified.
dtype (dtype or str, optional) – Data type for computations can either be ‘float32’ or ‘float64’. If out is specified, the data type of out is used and this argument is ignored. If out is not provided, ‘float64’ is used by default.
Matrix which is the inverse of m
ndarray