Reputation
1,912
Next privilege 2,000 Rep.
Edit questions and answers
Badges
2 8 29
Newest
 Nice Answer
Impact
~17k people reached

Jan
29
revised Generating Tuples with restrictions
Improved code
Jan
29
revised Generating Tuples with restrictions
put output in the op's format
Jan
29
comment Applying rules to expressions
There are subtle differences for HoldForm and Unevaluated which I have not pondered too far. With Unevaluated there is no need for a ReleaseHold.
Jan
29
revised Applying rules to expressions
delete ?NumberQ
Jan
29
comment Applying rules to expressions
So you might use Replace[ HoldForm @ expr, n_?NumberQ -> Abs[n], Infinity]//ReleaseHold.
Jan
29
answered Applying rules to expressions
Jan
29
comment Applying rules to expressions
@Pablo That is a Precedence issue so you will need -7 /. ( r = m_ -> ...)
Jan
29
comment Applying rules to expressions
@bbgodfrey While testing ?NumberQ takes time, we will not need to have nested Abs[ ] in a nested expression, but that is what we will get without the filtering.
Jan
29
comment Applying rules to expressions
@bbgodfrey I believe Reduce[ expr, n_?NumberQ -> Abs[n], Infinity] might work and be more precise? (Oh, I see that is what MichaelE2 has suggested above)
Jan
29
revised Generating Tuples with restrictions
more precise header
Jan
29
revised Generating Tuples with restrictions
improved output formatting
Jan
29
answered Generating Tuples with restrictions
Jan
25
answered Cheat sheets or reference cards for Mathematica
Jan
21
awarded  Enlightened
Jan
21
awarded  Nice Answer
Dec
26
awarded  Popular Question
Dec
22
awarded  Fanatic
Dec
17
awarded  Popular Question
Dec
13
comment Mathematica vs Python - how does it compare to Python's scientific computing suite?
I do not really look for performance issues but rather consider Mathematica a luxurious Veblen good ready made for 'conspicious consumption'. After all you get to be seen using expensive proprietary software (and wearing/using Wolfram merchandise) - after all who wants to use the tools of the 99%? ;-))
Nov
21
comment Grouping words by their differences
My bad, I even changed the wording in my edit. I would think that @Kuba is right, because the originator also wondered about having to compare with one word only.