Timeline for List-operations only when restrictions are fulfilled (Part 2)
Current License: CC BY-SA 3.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Apr 18, 2012 at 20:27 | comment | added | John |
May be there is a way to use a pattern such as {q___,x___,y___,z___,w___} . y represents the peak and q ,x ,z and w represent sequences with constant values, whereas x<y<z (q and w can be of any other constant value).
|
|
Apr 18, 2012 at 20:19 | comment | added | John |
Two comments on your approach: 1. res must be changed to res=(u-y)/(n+1) . 2. It is important that the function only runs in case of {{x_-n*604800_, y_},...,{x_-604800_, y_}, {x_, u_}, {x+604800_, z_},{x_+2*604800_, z_},...,{x_+m*604800_, z_}} , whereas y<u<z . In case of y<u=z the function must return the original list. Please consider the added information at the end of my question.
|
|
Apr 18, 2012 at 20:17 | comment | added | Heike | @John What are your comments? I can't see them. | |
Apr 18, 2012 at 9:18 | history | answered | Heike | CC BY-SA 3.0 |