Reputation
280
Top tag
Next privilege 300 Rep.
Create new tags
Badges
1 6
Newest
 Commentator
Impact
~2k people reached

  • 0 posts edited
  • 0 helpful flags
  • 34 votes cast
Nov
29
accepted Concise alternative to First@First@Position[…, 1,Heads->False]
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
awarded  Commentator
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
27
asked Concise alternative to First@First@Position[…, 1,Heads->False]
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.
Jul
11
accepted How can I represent this automorphism of Q(i,a)?
Jul
2
awarded  Curious
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
revised How can I represent this automorphism of Q(i,a)?
added 61 characters in body; edited title
Apr
21
comment How can I represent this automorphism of Q(i,a)?
Thanks, I see now. How can I represent my automorphism f?
Apr
21
asked How can I represent this automorphism of Q(i,a)?
Dec
25
accepted Complex limit gives wrong answer
Dec
24
awarded  Yearling
Dec
24
revised Complex limit gives wrong answer
added 42 characters in body
Dec
24
asked Complex limit gives wrong answer