Skip to main content

New answers tagged

0 votes

In Grid and using Frame, how can I only frame the header cells?

An alternative without spans Column[{Grid[{{"a", "b"}}, Frame -> All], 1, 2, 3}, Alignment -> Center] ...
eldo's user avatar
  • 82k
1 vote

How to find four numbers from the table that meet the requirements and find the four numbers with the largest sum?

A = {{11, 21, 31, 40}, {12, 22, 33, 42}, {13, 22, 33, 43}, {15, 24, 34, 44}}; MaximalBy[{A #, Total[A #, 2]} & /@ Permutations@IdentityMatrix@4, Last] {{$\...
chyanog's user avatar
  • 15.7k
2 votes

How to find four numbers from the table that meet the requirements and find the four numbers with the largest sum?

...
ubpdqn's user avatar
  • 62.9k
4 votes

How to find four numbers from the table that meet the requirements and find the four numbers with the largest sum?

...
Roman's user avatar
  • 49k
2 votes

How to find four numbers from the table that meet the requirements and find the four numbers with the largest sum?

As far as I understand, all 4! permutation correspond to valid choice. For the permutation {i1,i2,i3,i4}, just take (1,i1), (2,i2), (3,i3) and (4,i4) elements from the 4x4 matrix. This rule is exactly ...
A. Kato's user avatar
  • 1,580

Top 50 recent answers are included