tba
Reputation
280
Top tag
Next privilege 300 Rep.
Create new tags
 Nov 29 comment Concise alternative to First@First@Position[…, 1,Heads->False] Actually find always returns a matrix -- Matlab "atoms" are simply 1x1 matrices. But I understand your point and respect your differing opinion. Nov 28 comment Concise alternative to First@First@Position[…, 1,Heads->False] Great point, though the readability's not quite as good as Matlab Nov 28 comment Concise alternative to First@First@Position[…, 1,Heads->False] (+1) Nice attempt at duplicating Matlab's logic. I appreciate the profiling stats. Nov 28 comment Concise alternative to First@First@Position[…, 1,Heads->False] (+1) Probably the most idiomatic way in Mathematica, but I prefer Matlab's syntax Nov 28 comment Concise alternative to First@First@Position[…, 1,Heads->False] (+1) Short and fast, though doesn't generalize as nicely as the matlab syntax, e.g. find(lst == 7) Nov 14 comment Non-algebraic equation in the set of complex numbers This discussion on Reduce vs Solve may be helpful Nov 14 comment Non-algebraic equation in the set of complex numbers Why isn't this equivalent to the code in the question? I can't find anything in the documentation to imply otherwise. Apr 21 comment How can I represent this automorphism of Q(i,a)? The smallest field containing the rationals, i, and a. We can think of an element of $\mathbb{Q}(i,a)$ as a complex polynomial in a. Apr 21 comment How can I represent this automorphism of Q(i,a)? Thanks, I see now. How can I represent my automorphism f? Nov 28 comment Treat all variables as local in a module @Nasser I have edited the sentence you quoted to use the more precise term "definition". This is true of most languages, including C, C++, and Java. Does your objection still apply? May 2 comment Creating a stacked RectangleChart Great, that seems to work! Strange that the docs don't mention it (reference.wolfram.com/mathematica/ref/RectangleChart.html says 'Possible settings for ChartLayout include "Grouped" and "Stepped"').