Classical magnetic dipole-dipole interaction can be written in the form of the two-ion interaction with the matrix parameter