Reputation
497
Next privilege 500 Rep.
Access review queues
Badges
6 12
Impact
~7k people reached

  • 0 posts edited
  • 0 helpful flags
  • 261 votes cast
May
28
comment Emulating Case Pattern replacement
Any hint or advice on how to properly handle the Heads->True / Level[0] options, even if I don't expect to need them myself ?
May
28
comment Emulating Case Pattern replacement
Thanks a lot. You are right on one of my motivations. This covers a large part of what I need. I made a prototype with Reap and Sow but it did not take advantage, as yours do, of the fact that the two Replace will change objects in the same order as we preserve the structure.
May
28
comment Emulating Case Pattern replacement
@Kuba that's fair. I will soon edit my question. But in the meantime, I think Mr.Wizard pointed out my main trouble: I would like "Indexed" versions of most of these functions, and ideally, I would like something like a IndexedPatternTest which would transmit the position of the matched pattern in the expression being scanned by Cases, Count, or Position, etc. as a second argument.
May
28
comment Emulating Case Pattern replacement
@Guesswhoitis. I have done that, and it works in elementary cases such as CaseSort but I somehow messed up when testing for and manipulating Condition and PatternTest. I will try to come up with a few clear examples of this.
May
27
asked Emulating Case Pattern replacement
Aug
19
awarded  Notable Question
Jan
17
awarded  Yearling
May
19
comment How to type a capital 'E' in Mathematica 9 using 'ToExpression' and 'TeXForm'?
Thanks and fair enough. Something you can do if you don't like Mathematica's output is to use TeXForm or "Notebook to TeX" conversion to convert a Mathematica Expression or a whole Notebook to something (or close to something) you can use in a TeX source file after you are done with your computations.
May
18
answered How to type a capital 'E' in Mathematica 9 using 'ToExpression' and 'TeXForm'?
May
16
awarded  Popular Question
Jan
17
awarded  Yearling
Sep
24
awarded  Caucus
Sep
24
awarded  Constituent
Sep
9
comment Mathematica 8 and window names for modified files
@kale: thanks for this tip. I did not pick this aspect of the GUI before.
Sep
9
comment Mathematica 8 and window names for modified files
@ragfield: it is something I miss on Mac OSX compared to the Windows version. As other have explained, on Mac OSX, there are other clues about the unsaved state, but they can be a little subtle at first.
Sep
9
revised Mathematica 8 and window names for modified files
edited tags
Sep
9
comment Mathematica 8 and window names for modified files
@Matariki : you are right, but under certain lighting conditions it can be missed. Moreover, when the window is not on the forefront, the notebook icon next to the title is dimmed anyway so you cannot see a difference. With this system, there is also no difference in the Window list of the FrontEnd.
Sep
9
asked Mathematica 8 and window names for modified files
Jun
25
awarded  Taxonomist
Jun
24
awarded  Nice Question