In matrix theory, the rule of Sarrus is a mnemonic device for computing the determinant of a matrix named after the French mathematician Pierre Frédéric Sarrus.