61,922 reputation
6186278
bio website mathprogramming-intro.org
location St. Petersburg, Russia
age 38
visits member for 3 years
seen 1 hour ago

Ok, an obligatory note: opinions expressed here are mine and not those of my employer.


Jan
25
comment Simplistic Notation example
Good stuff, big +1. Great that you are here, David, we missed you and your expertise!
Jan
25
revised Hiding certain user-defined functions in front-end autocompletion
added 164 characters in body
Jan
25
answered Hiding certain user-defined functions in front-end autocompletion
Jan
25
comment Error in setting matrix elements
Hello! In my answer to that question, simply replace everywhere sym[index_] with sym[indices__] (of course, consistently across the bodies of the functions), and it should work, I think. Let me know if it does not. As for the answer of @Mr.Wizard, I suppose that should work for it too.
Jan
25
comment How can I collect data for visualization of quick sort?
You can also use Trace. Have a look at this answer, where I was showing how to trace the execution of merge sort implementation (not quick sort, but also recursive).
Jan
25
comment Upvalues, TagSet and UpSet, what's the difference, when should a use each?
In addition to the answer of @Mr.Wizard, I discussed exactly this issue in this answer (last subsection), where it is put in a wider context of UpValues in general.
Jan
24
comment Plotting results of numerical differential equation
You can try using ParametricPlot for that.
Jan
24
comment Override @ to mock Java Classes
@pjc42 Glad if I could help. Thanks for the accept, too.
Jan
24
comment How do you multiply out integer powers in a symbolic expression?
You could use NonCommutativeMultiply, or any other inert head for your intermediate representation of powers as products, and convert back at the end, when you need it.
Jan
24
revised Override @ to mock Java Classes
added 268 characters in body
Jan
24
answered Override @ to mock Java Classes
Jan
24
comment Override @ to mock Java Classes
Strongly related (or even dupe) question. Alas, the answer there isn't very satisfactory.
Jan
23
awarded  Enlightened
Jan
23
comment Mathematica and Python integration?
I think it is possible, but to my knowledge this has not been done yet, at least at the same level of intergation as with R. Writing a general link with Python is likely to be a lot of work. But I agree that it would be nice to have it.
Jan
23
comment Assign the output of a loop
@Darwin You should have started with your real problem / code, as long as it is not too long.
Jan
23
comment Overloading second argument of CountryData
@Stefan Long experience... :-). This particular issue is covered in Mathematica book and also David Wagner's book on Mathematica programming.
Jan
22
awarded  Enlightened
Jan
22
comment Overloading second argument of CountryData
@ssch Was glad to help. I think I've run into exactly such problem with ...Data before. Also a good example of when manual rule reordering is really needed. Thanks for the accept.
Jan
22
comment How can I merge two lists in a special way?
+1. You could have used Outer[Append, x, y, 1] instead.
Jan
21
awarded  Nice Answer