TeX - LaTeX Asked by Ravages on March 25, 2021
Hello everyone I have a matrix such as :
and I do the mean of sum of all pair such as
(H1H2)+(H1H3)+(H1H4)+(H1H5)+(H2H3)+(H2H4)+(H2H5)+(H3H4)+(H3H5)+(H4H5)/nb pairs
and I wondered how can I exprime that expression into a mathematical expression and then into a latex code please?
I can think of at least two representations of the "mean of sum of pairs" in LaTeX code.
documentclass{article}
usepackage{mathtools} % for "smashoperator" macro
begin{document}
raggedright % optional
The ``mean of sum of pairs'' of $H_{ntimes n}$ may be expressed as either
[
frac{2}{n(n-1)} sum_{i=1}^n sum_{j>i} H_{i,j}
quadtext{or as}quad
(n(n-1)/2)^{-1}smashoperator{sum_{substack{i=1,dots,nj>i}}} H_{i,j},.
]
end{document}
end{document}
Correct answer by Mico on March 25, 2021
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP