Notebook[List[Cell[BoxData[FormBox[GridBox[List[List[RowBox[List[SubscriptBox["r", RowBox[List["i", ",", "u"]]], "=", RowBox[List[RowBox[List["[", GridBox[List[List[SubscriptBox["r", RowBox[List["i", ",", "u", ",", "0"]]]], List["\[VerticalEllipsis]"], List[SubscriptBox["r", RowBox[List["i", ",", "u", ",", RowBox[List[SubscriptBox["N", RowBox[List["RX", ",", "i"]]], "-", "1"]]]]]]]], "]"]], "=", RowBox[List[RowBox[List[SubscriptBox["H", RowBox[List["i", ",", "u"]]], SubscriptBox["s", RowBox[List["i", ",", "u"]]]]], "+", RowBox[List[UnderscriptBox["\[Sum]", RowBox[List[RowBox[List["v", "\[Element]", SubscriptBox["U", "i"]]], ",", RowBox[List["v", "\[NotEqual]", "u"]]]]], RowBox[List[SubscriptBox["H", RowBox[List["i", ",", "v"]]], SubscriptBox["s", RowBox[List["i", ",", "v"]]]]]]], "+", RowBox[List[UnderscriptBox["\[Sum]", RowBox[List["j", "\[NotEqual]", "i"]]], RowBox[List[UnderscriptBox["\[Sum]", RowBox[List["v", "\[Element]", SubscriptBox["U", "j"]]]], RowBox[List[SubscriptBox["H", RowBox[List["i", ",", "v"]]], SubscriptBox["s", RowBox[List["j", ",", "v"]]]]]]]]], "+", SubscriptBox["n", "i"]]]]]]], TagBox[StyleBox[TagBox[RowBox[List["[", RowBox[List["Math", ".", " ", "20"]], "]"]], Null, Rule[Editable, True], Rule[Selectable, True]], "EquationLabel", Rule[Deletable, False], Rule[ZeroWidthTimes, True]], Null, Rule[Editable, False]]]], Rule[RowSpacings, 2.], Rule[ColumnWidths, List[Fit, Automatic]], Rule[RowAlignments, Top], Rule[ColumnAlignments, List[TextAlignment, Right]]], TraditionalForm]], "Input"]]]