Sjoerd C. de Vries
Reputation
48,746
109/100 score
 Apr 12 reviewed Close Create an array with certain conditions and use it to fill a matrix Apr 12 reviewed Close Why won't equal trig expressions simplify to the same form? Apr 12 reviewed Edit Streamline Plot from velocity discrete values Apr 12 revised Streamline Plot from velocity discrete values improved formatting Apr 12 comment Function in Mathematica 10.1, but not in CDF Player 10.0.2 The Villegas-Gayley trick may be of some help here. Apr 11 reviewed Looks OK What does this “Cos[1.theta]”mean in Mathematica? Apr 11 comment How to draw a Circle in 3D on a sphere @kuba please elaborate. Apr 11 reviewed Close How to draw a Circle in 3D on a sphere Apr 11 comment How to draw a Circle in 3D on a sphere If the center of the circle lies on the sphere it is impossible that the circle itself lies on the sphere. Apr 11 reviewed Looks OK Elegant functional equivalent to a nested loop? Apr 11 comment Define a matrix depending on variable in Mathematica ClearAll[getA];getA[kappa_,n_] :=Table[ 2*Cos[(2*pi/n)*(abs (j - i))*kappa],{i,n},{I,n}]; Apr 11 comment Define a matrix depending on variable in Mathematica BTW you could have filled your table directly without initialization and without For loops using Table. Apr 11 comment Define a matrix depending on variable in Mathematica Unlike Python mathematica's lists go from 1 to n Apr 11 reviewed No Action Needed Define a matrix depending on variable in Mathematica Apr 10 comment Why do lookup times in Dataset and Association differ by orders of magnitude? If you have 10.1 could you use RepeatedTiming for a more accurate result? Apr 10 comment How can I evaluate this function in Mathematica? Welcome to the world of Mathematica! Though I applaud your choice of CAS, I'd suggest you read some introductory texts on the language. Your post is like buying a car and then asking on the Internet how to drive. Apr 10 reviewed Leave Open Delete permutations of subtables in a table Apr 10 comment Delete permutations of subtables in a table DeleteDuplicates[Sort/@A] looks like it would be faster, if you don't mind the sub lists being sorted afterwards. Apr 9 reviewed Close Some problems about ListPlot3D, plot 6 faces of a 3D region Apr 9 comment Error when combining Except, “*” and an additional character @mr.wizard that answer implies that the pattern (Except [p]) can only stand for a single character, not that the pattern element itself (p) must be a single character. The first example seems to support this.