To preface, I'm an applied mathematician trying to parse the meaning of physics notation I've come across in a paper. My goal is to understand the setting in terms of matrices and vectors so that I can test an algorithm I'm studying. Since I don't know the terminology or notation, I haven't been able to figure out how to read more about the topic.
I'm reading about spin systems and I see expressions like: $$ \mathbf{H} = -\sum_{i,j} J_{i,j} \mathbf{s}(i) \cdot \mathbf{s}(j) $$ where $\mathbf{s}(i)$ is the spin operator at site $i$.
My understanding is that $\mathbf{H}$ is can be represented as a matrix of size $(2s+1)^N$ where $N$ is the number of spins and and $s$ is the spin number. I have also seem the spin matrices for specific values of $s$, which are of size $2s+1$ (although I'm not sure if these are the same as the $\mathbf{s}(i)$ since they seem to have $x, y, z, +, -)$. So, the missing piece for me is what is the meaning of $\mathbf{s}(i) \cdot \mathbf{s}(j)$ as well as the meaning of the sum.