Anagram diagonalized