I am guessing you assume a `n x n` array ?