Another newbie question. I'm trying to figure out how to produce rr
given dd
and hh
:
dd = {{{a, b}, {c, d}}, {{e, f}, {g, h}}};
hh = {x, y};
rr = {{{x, x}, {y, y}}, {{a, b}, {c, d}}, {{e, f}, {g, h}}};
{Grid[dd, Frame -> All], Grid[{hh}, Frame -> All], Grid[rr, Frame -> All]}