| Author |
Comment/Response |
newb
|
05/07/12 2:54pm
here is my list.
{{1,1,1,1},{1,1,1,5}},{{1,1,1,1},{1,1,1,-6}},{{1,1,1,1},{1,1,1,4}},{{1,1,1,1},{1,1,1,3}}}
that is the shape of my list above, but I want to look at the last position {5,-6,4,3}
when the sign switches from - to + display the mini list.
1st switch
the sign switches from positive to negative; so display {{1,1,1,1},{1,1,1,-6}}
2nd switch
the sign switches from negative to positive; so display {{1,1,1,1},{1,1,1,4}}
there are only two switches in this example… so here is my output
{{{1,1,1,1},{1,1,1,-6}},{{1,1,1,1},{1,1,1,4}}}
URL: , |
|