45,731 reputation
572182
bio website
location
age
visits member for 2 years, 9 months
seen 5 hours ago

Dec
13
comment about the design of Part related to Association
@matheorem, it looks like there is still some work to do with pattern matching on Associations, but I wouldn't expect the behaviour with Part to change.
Dec
13
comment about the design of Part related to Association
@matheorem, there's some discussion of that here. I don't claim to fully understand the situation, but I have found that associations mostly make sense if you regard the values as being what's really there at level 1, and the keys as ephemeral magic labels which are transparent to most operations and which vanish as soon as the value is no longer contained inside an association.
Dec
13
comment about the design of Part related to Association
@matheorem, because the value is not the rule "a"->1, it is just 1. Note that FreeQ[<|"a"->1|>, Rule] is True - there is no Rule in that expression, despite appearances.
Dec
13
comment ListContourPlot interpolation fails if x and y axes have different scales
It used to be possible to use Method -> {"DelaunayDomainScaling" -> True} in the contour plot to work around this issue. Unfortunately it doesn't seem to work in version 10.
Dec
13
comment about the design of Part related to Association
I agree, the behaviour of Part with Association is consistent and expected.
Dec
12
answered Better answer to Santa's riddle about sum of a number's divisors?
Dec
12
comment Piecewise smooth rectangle pulse
Hyperbolic tangents are useful for smooth step functions, e.g. Plot[0.5 (Tanh[10 (x - 1)] - Tanh[10 (x - 3)]), {x, 0, 4}]
Dec
12
reviewed Close NDSolve: Equation with interpolating function
Dec
9
reviewed Close NotebookInformation[] in CDF
Dec
9
reviewed Leave Open Fix range when combining plots
Dec
9
reviewed Close Evaluating Expectation
Dec
9
reviewed Close How to find the kth largest eigenvalue of a matrix, taking into account the sign?
Dec
9
reviewed Close 3D Sphere Plot + Points
Dec
9
comment How to conveniently stop a programme without aborting the computation
Do you mean to pause the calculation so that it can be resumed later? Have you seen this: reference.wolfram.com/language/tutorial/…
Dec
6
comment BUG: AssociationMap loses definition
I cannot reproduce this in v10.0.1 on Windows 7 (64-bit). Have you tried reinstalling Mathematica?
Dec
5
answered How to exclude the diagonal in a MatrixPlot?
Dec
5
comment How to exclude the diagonal in a MatrixPlot?
@becko, it would help if you supplied an example matrix to demonstrate the problem
Dec
4
awarded  Good Answer
Dec
2
awarded  Nice Answer
Nov
30
answered How to return the value of Automatic when it is used in a Mathematica function?