Tensorial inhomogeneities in the nonlinear responses of an array of gold nanoparticles