(\hat{A})_{i.j}=a_i\delta_{i,j}