New answers tagged

2 votes

Partitioning a list based on a criterion for sublists

list = {5, 10, 3, 8, 9, 8, 8, 4, 1, 7}; A variant of rhermans SequenceSplit using ...
E. Chan-López's user avatar
3 votes

Partitioning a list based on a criterion for sublists

list = {5, 10, 3, 8, 9, 8, 8, 4, 1, 7}; A variant of rhermans SequenceSplit using ...
eldo's user avatar
  • 62.2k
2 votes

Why does FindInstance require specifying variables, and how to transform a list of logical expressions into the list of its variables

{a + b > 0, c + d == 0}; Variables[List @@@ %] {a, b, c, d}
azerbajdzan's user avatar
  • 13.7k
4 votes
Accepted

Why does FindInstance require specifying variables, and how to transform a list of logical expressions into the list of its variables

Union[Cases[list, _Symbol, ∞]]
mikado's user avatar
  • 16.4k
2 votes

Why does FindInstance require specifying variables, and how to transform a list of logical expressions into the list of its variables

Variables@list[[All, 1]] {a, b, c, d} For a more general case: ...
Syed's user avatar
  • 49.3k
5 votes

Why does FindInstance require specifying variables, and how to transform a list of logical expressions into the list of its variables

list = {a + b > 0, c + d == 0}; p = Position[list, _Symbol, Heads -> False] {{1, 1, 1}, {1, 1, 2}, {2, 1, 1}, {2, 1, 2}} ...
eldo's user avatar
  • 62.2k
3 votes
Accepted

Hyperlinks that open smoothly in the same window

Create two folders C:\\folder1 and C:\\folder2 and two files (notebooks) ...
azerbajdzan's user avatar
  • 13.7k
2 votes

Populate an upper triangular matrix from a vector of elements

Using TakeList: ...
Syed's user avatar
  • 49.3k

Top 50 recent answers are included