Alternative Equation Formats

The equation on this page is available in multiple formats. Depending on your browser, some formats might not render correctly.

MathML

s=i<j(sgn(xixj)sgn(yiyj))

MathML rendered with MathJax

s=i<j(sgn(xixj)sgn(yiyj))

Math as LaTeX Source

\[ s=\sum _{i<j} \, (\mr{sgn} (x_ i-x_ j) \mr{sgn} (y_ i-y_ j)) \]