Scalar matrix. A square diagonal matrix with all its main diagonal entries equal is a scalar matrix, that is, a scalar multiple λIof the identity matrix I. Its effect on a vector is scalar multiplication byλ. A square matrix has same nmber of rows as column.