Julia Programming Language
Is there a way to create a comprehensive set of conditional combinations
General Usage
question
jbytecode
August 5, 2022, 8:54pm
8
how about
Iterators.filter(x -> (x[2] - x[1])>0 || sum(x) == value, combinations(1:6,2)) |> collect
1 Like
show post in topic
Related topics
Topic
Replies
Views
Activity
Getting all possible combination of vector with all possible order
General Usage
question
2
4154
December 12, 2016
Combinations
General Usage
2
2548
March 28, 2018
Calculating all possible combinations
Performance
8
14426
July 9, 2020
Terminate in collect
General Usage
question
1
490
April 3, 2017
Help getting matrix combinations that sum to X
General Usage
3
893
May 3, 2019