Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Creating sublist according to be an element of a countinuous interval

I have a list of number say

l = [1.25, 2.46, 3.99, 4, 5, 6, 7.12, 8.76 ,9.34, 10.42, 11.5, 12.]

I have a list of real intervals

Cl=[[0, 5),[5, 10),[10, 15)]

How to create sublist of l according to the intervals in Cl ? If I was work in N there will be no difficulties.

Creating sublist according to be an element of a countinuous interval

I have a list of number say

l = [1.25, 2.46, 3.99, 4, 5, 6, 7.12, 8.76 ,9.34, 10.42, 11.5, 12.]

I have a list of real intervals

Cl=[[0, 5),[5, 10),[10, 15)]

How to create sublist sublists of l according to the intervals in Cl ? If I was work in N there will be no difficulties. difficulties.

Creating sublist according to be an element of a countinuous interval

I have a list of number say

l = [1.25, 2.46, 3.99, 4, 5, 6, 7.12, 8.76 ,9.34, 10.42, 11.5, 12.]

I have a list of real intervals

Cl=[[0, 5),[5, 10),[10, 15)]

How to create sublists of l according to the intervals in Cl ? If I was work in N there will be no difficulties.

Creating sublist according to be an element of a countinuous intervalintervals

I have a list of number say

l = [1.25, 2.46, 3.99, 4, 5, 6, 7.12, 8.76 ,9.34, 10.42, 11.5, 12.]

I have a list of real intervals

Cl=[[0, 5),[5, 10),[10, 15)]

How to create sublists of l according to the intervals in Cl ? If I was work in N there will be no difficulties.