Skip to main content
edited title
Link
David G. Stork
  • 42.3k
  • 3
  • 37
  • 106

How should I make a selection Selecting from a list returned by Tuples?

Tweeted twitter.com/StackMma/status/1042428689730940929
deleted 2 characters in body; edited title
Source Link
m_goldberg
  • 108.1k
  • 16
  • 104
  • 259

How should I make a selection from a list returned by Tuples?

How should I make a selection from a list returned by Tuples?

Select[Tuples[{1, 1/2}, {4, 4}], Total [#] == 15]

I want to select all tuples in the result returned by Tuples that have total of their elements equal to 15. The answer I got was only {}. Why?

How should I make a selection from list returned by Tuples?

Select[Tuples[{1, 1/2}, {4, 4}], Total [#] == 15]

I want to select all tuples in the result returned by Tuples that have total of their elements equal to 15. The answer I got was only {}. Why?

How should I make a selection from a list returned by Tuples?

Select[Tuples[{1, 1/2}, {4, 4}], Total [#] == 15]

I want to select all tuples in the result returned by Tuples that have total of their elements equal to 15. The answer I got was only {}. Why?

added 45 characters in body; edited title; edited tags
Source Link
m_goldberg
  • 108.1k
  • 16
  • 104
  • 259

how to select How should I make a selection from Tuples list returned by Tuples?

Select[Tuples[{1, 1/2}, {4, 4}], Total [#] == 15]

I want to select all Tuples's listtuples in the result returned by Tuples that hashave total itsof their elements equal to 15.

  The answer I got was only {}; why. Why?

how to select from Tuples list

Select[Tuples[{1, 1/2}, {4, 4}], Total [#] == 15]

I want to select all Tuples's list that has total its elements equal 15.

  The answer was only {}; why?

How should I make a selection from list returned by Tuples?

Select[Tuples[{1, 1/2}, {4, 4}], Total [#] == 15]

I want to select all tuples in the result returned by Tuples that have total of their elements equal to 15. The answer I got was only {}. Why?

added 6 characters in body; edited title
Source Link
kglr
  • 400.5k
  • 18
  • 488
  • 929
Loading
edited body; edited title
Source Link
Loading
Source Link
Loading