111 reputation
5
bio website directperformance.com.br
location Sao Paulo, Brazil
age 29
visits member for 2 years, 11 months
seen Jul 7 '13 at 3:41

Python Web Developer working with Web Analytics in São Paulo Area


Sep
10
awarded  Student
Sep
10
comment What function is this?
Thank you @Didier
Sep
10
revised What function is this?
deleted 8 characters in body
Sep
10
awarded  Scholar
Sep
10
awarded  Editor
Sep
10
comment What function is this?
This is very useful, thanks for providing this, I'm accepting Didier's because it's more in line with my question about a single function to solve the case. Though your solution is better in pratical terms to me.
Sep
10
accepted What function is this?
Sep
10
comment What function is this?
I'm on Javascript
Sep
10
revised What function is this?
Putting my own solution based on the answers
Sep
10
comment What function is this?
I had to google about the Iverson bracket. But it seems good. en.wikipedia.org/wiki/Iverson_bracket
Sep
10
comment What function is this?
Sorry I was just checking. I'm not a pro mthematician like you guys. But I'm still trying to understand this function. The $\sum$ is puzzling me. I think I'll go with 2 separate functions, one for the first range and one for the second.
Sep
10
awarded  Supporter
Sep
10
comment What function is this?
I have no idea of what you mean. But it looks like cheating to me. A magical function that get's rid of the different range problem. You sure there's no simpler function?
Sep
10
comment What function is this?
This is exactly what is driving me crazy. The first range doesn't match. But the question is correct.
Sep
10
comment What function is this?
yes I'm sure. But thanks for the effort.
Sep
10
asked What function is this?
Sep
10
awarded  Autobiographer