$n\times n$ matrix over field