.
np.dot(np.transpose(V),V) ## checks the symmetricity of a matrix which returns an identity matrix( A matrix with one’s on its diagonal and zero elsewhere) then the matrix is symmetric else it is not np.linalg.eigh(V) ## this calculates the eigen values and vectors of matrix V if V is not inversible