Reputation
15,246
Top tag
Next privilege 20,000 Rep.
Access 'trusted user' tools
Badges
1 20 59
Impact
~219k people reached

1d
awarded  Notable Question
Feb
2
awarded  Yearling
Jan
30
awarded  Nice Answer
Jan
28
awarded  Nice Answer
Jan
28
comment A simple question: Input problem
+1 Also works with NIntegrate[(w E^(-w/a))/(w - s), {w, 0, Infinity}, AccuracyGoal -> 5]
Jan
27
comment How can DateObject handle calender weeks
It looks like a Mathematica bug. DateList[{"2014 1", {"Year", "WeekShort"}}] is stepping back but not decrementing the year, so it finds Monday in December but for 2014, not 2013. Same problem happens for DateList[{"2013 1", {"Year", "WeekShort"}}]. However DateList[{"2015 1", {"Year", "WeekShort"}}] is correct : {2014, 12, 29, 0, 0, 0.} - perhaps because Jan 1st 2015 is a Thursday.
Jan
27
revised How can DateObject handle calender weeks
added 2 characters in body
Jan
27
revised How can DateObject handle calender weeks
added 2 characters in body
Jan
27
comment How can DateObject handle calender weeks
Interesting about ISO weeks but the code is wrong: DateList[{"2014 1", {"Year", "WeekShort"}}] produces {2014, 12, 29, 0, 0, 0.} - miles out. Consequently fromYearWeek[{2014, 1}] produces 2015-W01-2 GMT.
Jan
27
revised How can DateObject handle calender weeks
added 696 characters in body
Jan
27
answered How can DateObject handle calender weeks
Jan
26
revised A simple question: Input problem
added 194 characters in body
Jan
26
awarded  Organizer
Jan
26
revised A simple question: Input problem
edited tags
Jan
26
comment A simple question: Input problem
It might be something to do with the Intel Math Kernel Library (MKL) in which case you'd only need to go back to Mathematica 10.1 to get a different version. See this post: Why has Version 10.3 precision reduced? also the post referenced there.
Jan
26
comment A simple question: Input problem
On Mathematica 10.3.1 the result is -3.744368975619640*10^43415 but not on Mathematica 7.0.1.0 (both running on Windows 10).
Jan
26
comment A simple question: Input problem
In Mathematica 7.0.1.0 the result is 9.99979500615538*10^-12. However, with s = -0.1 the result is 9.999800005898997*10^-12 which is 4.99974*10^-18 more.
Jan
26
answered A simple question: Input problem
Jan
23
comment Positions of elements in the initial flattened list in a split list
How it works: see output list = {}; SplitBy[ Range@Length@m1, (AppendTo[list, #]; m1[[#]]) &]; list plus docs SplitBy[list,f] splits list into sublists consisting of runs of successive elements that give the same value when f is applied.
Jan
23
comment Positions of elements in the initial flattened list in a split list
+1 Looks useful. Is there some way to illustrate how this works?