Skip to main content
Formatted code
Source Link
MarcoB
  • 67.7k
  • 18
  • 96
  • 198

List Manipulationmanipulation Interval Intersection

I'm having some troubles manipulating a nested list:

{{2.5285, 2.54381}, {1.77463, 1.0246}, {1.30668, 1.31949}, {0.986982, 
  1.78699}, 
 {1.71224, 0.00986564}, {0.733888, 0.768184}, {0.0570823, 
  1.71373}}

I need to remove any list that hiswhose elements are not in some Interval[{0, x}],if if the interval is [0,1] 1] I shoulshould keep only {{0.733888, 0.768184}}

The nested list may be of n elements {{a1, b1, d1, ..., n1}, {a2, b2, ..., n2}, ...}

anyAny idea?

List Manipulation Interval Intersection

I'm having some troubles manipulating a nested list:

{{2.5285, 2.54381}, {1.77463, 1.0246}, {1.30668, 1.31949}, {0.986982, 
  1.78699}, {1.71224, 0.00986564}, {0.733888, 0.768184}, {0.0570823, 
  1.71373}}

I need to remove any list that his elements are not in some Interval[{0,x}],if the interval is [0,1] I shoul keep only {{0.733888, 0.768184}}

The nested list may be of n elements {{a1,b1,d1,..,n1},{a2,b2,...,n2},..}

any idea?

List manipulation Interval Intersection

I'm having some troubles manipulating a nested list:

{{2.5285, 2.54381}, {1.77463, 1.0246}, {1.30668, 1.31949}, {0.986982, 1.78699}, 
 {1.71224, 0.00986564}, {0.733888, 0.768184}, {0.0570823, 1.71373}}

I need to remove any list whose elements are not in some Interval[{0, x}], if the interval is [0, 1] I should keep only {{0.733888, 0.768184}}

The nested list may be of n elements {{a1, b1, d1, ..., n1}, {a2, b2, ..., n2}, ...}

Any idea?

Source Link
Rodrigo
  • 111
  • 7

List Manipulation Interval Intersection

I'm having some troubles manipulating a nested list:

{{2.5285, 2.54381}, {1.77463, 1.0246}, {1.30668, 1.31949}, {0.986982, 
  1.78699}, {1.71224, 0.00986564}, {0.733888, 0.768184}, {0.0570823, 
  1.71373}}

I need to remove any list that his elements are not in some Interval[{0,x}],if the interval is [0,1] I shoul keep only {{0.733888, 0.768184}}

The nested list may be of n elements {{a1,b1,d1,..,n1},{a2,b2,...,n2},..}

any idea?