3,736 reputation
1838
bio website
location China
age
visits member for 2 years
seen 12 hours ago

Feel free to correct the grammar mistakes in my posts.


Aug
18
reviewed Approve suggested edit on How to execute JavaScipt on a webpage and then import the result on OSX?
Aug
18
revised Solving System of Nonlinear with Three Differential Equations
remove the dead link
Aug
17
reviewed Reject suggested edit on Deleting all characters in a string that do not belong to a small set of elements
Aug
17
comment A problem about generating `[]` automatically
Well, my last comment is only to the first question i.e. the generation of [], when you thought you pressed Alt + ) you actually pressed Alt + 0, which is another shortcut (that seems to be changed in v10? I'm still in v9 anyway.) And just as what you've noticed, to generate {} and () one needs to press 3 keys, which I personally don't feel it convenient, either.
Aug
17
comment A problem about generating `[]` automatically
@blochwave According to the rest part of OP's question, I think it's a typo and correct it. As to OP's first question, what's your input method editor (IME)? In fact I just found my IME for Chinese character input will break this shortcut and after I turned it off, the shortcut works well.
Aug
17
revised A problem about generating `[]` automatically
Correct the typo
Aug
15
reviewed Approve suggested edit on How to prevent function from substituting the part of the parameter name if it has a subscript?
Aug
15
reviewed Approve suggested edit on Improving the speed/efficiency of multiple (finite range) convolutions for a causal response plot
Aug
11
comment Problem with NDSolve in Mathematica 9 / 10
Your code generates several warnings in v9, Vista 32bit but gives the desired result. No warning in v8 BTW.
Aug
8
comment Strange behaviour of UpSet
Confirmed in v9.0.1, Windows Vista 32bit.
Aug
6
comment Use Runga-Kutta method to solve a system of many ODEs
Do you mean Plot[Evaluate[Sum[I0[k][t] + I1[k][t], {k, 1, 5}] /. n1 /. n2], {t, 0, 80}, PlotRange -> All] ?
Aug
6
comment When I use Rule, why doesn't this work?
@Analysis You need another attribute OneIdentity added. See here for more details.
Aug
6
comment When I use Rule, why doesn't this work?
Well, not quite correct because if you check the FullForm of k.k.k what you'll see is Dot[k, k, k], the true cause lies in the Attributes.
Aug
6
answered When I use Rule, why doesn't this work?
Aug
6
comment the winding number for the circle map (Arnold tongue)
And wraping m with Round as @george2079 suggested is also a valid approach.
Aug
6
comment the winding number for the circle map (Arnold tongue)
@heropup Oh, seems that it's necessary to declare the type of m in this case (I added those declarations habitually in my code so didn't notice this) : f = Compile[{n, {m, _Integer}, a, k}, Mean[Nest[# + a - k Sin[2 Pi #] &, RandomReal[1, m], n]]/n];
Aug
5
comment the winding number for the circle map (Arnold tongue)
If you use RandomReal[1, m] instead of the Table[……], the code'll be about one time faster :)
Aug
4
awarded  Enlightened
Aug
4
awarded  Nice Answer
Aug
4
reviewed Approve suggested edit on the winding number for the circle map (Arnold tongue)