The Hamming weight of a matrix $\displaystyle A $ with entries from a finite field $\displaystyle F_q $ is the number of non-zero entries in $\displaystyle A$.

Find the number of matrices with entries from$\displaystyle F_q$ having the Hamming weight $\displaystyle d $ .