Linked Questions
14 questions linked to/from Returning an unevaluated expression with values substituted in
3 votes
2 answers
1k views
Stopping Mathematica from reordering expressions [duplicate]
I want Mathemtica to stop manipulating my polynomials! I mean, I want the output of Print[3 x + 5 + x^2] to be just $3x+5+x^2$, not $5+3x+x^2$ as Mathematica ...
3 votes
1 answer
196 views
Elimination of "1" in HoldComplete [duplicate]
HoldComplete[2 3 3] will return HoldComplete[2 3 3]. HoldComplete[b a] will return ...
608 votes
19 answers
161k views
Where can I find examples of good Mathematica programming practice?
I consider myself a pretty good Mathematica programmer, but I'm always looking out for ways to either improve my way of doing things in Mathematica, or to see if there's something nifty that I haven't ...
44 votes
6 answers
4k views
Mathematica Destructuring
Context I'm writing a function that look something like: ...
33 votes
2 answers
3k views
What are some advanced uses for Block?
I read the answers to this question (What are the use cases for different scoping constructs?) and this one (Condition, Block, Module - which way is the most memory and computationally efficient?). ...
10 votes
4 answers
1k views
HoldForm does not Hold Form for fractions sometimes
I'm facing a strange behavior of HoldForm. I need to display 1/2*3/4 in LaTeX like this : $$ \frac{1}{2} \times \frac{3}{4} $$ ...
7 votes
5 answers
4k views
Replace symbols with values without evaluation
If I have assigned values to a, b and c: a=7; b=5; c=6; ...
7 votes
5 answers
627 views
How to display operations on list elements
When applying some arithmetic operation on two lists, I'd like to display the actual operations between the elements of each list. For example, {1, 1} + {1, -1} ...
11 votes
2 answers
2k views
Displaying index as subscript on output: e.g. C[i] -> C_i with Notation[...] or Interpretation[..]?
You have all convinced me not to type in formulas with subscripts. However, in order to be able to match the subscripts in my whiteboard math, I figure a 2nd best solution is to want to display ...
7 votes
3 answers
322 views
Why does TraditionalForm[Inactivate[x y]] show x * y ? instead of x y?
Given that both x and y are expressions, in my case x is ...
7 votes
2 answers
483 views
HoldForm[Operator ##] on some list
Recently in response to this question Mr.Wizard suggested an unusual way to summing numbers. This doesn't seem to be documented. ...
3 votes
1 answer
223 views
Apply functions to a BlankNullSequence
I'd need to apply all functions in a list to a BlankNullSequence (___) But when I tried ...
6 votes
1 answer
181 views
Hold[Dataset[__]] not holding
Bug introduced in 10.0 and fixed in 11.0.0 With Hold[Dataset[Random[]]] instead of an expected Hold[Dataset[Random[]]] Can <...
7 votes
1 answer
181 views
Why doesn't defined MakeBoxes display what is constructed in RHS?
Inspired by the @ybeltukov 's answer to this question, if I have the following polynomial poly = a^2 + (a^2 + b^2 - c^2)*x + b^2*x^2; var = x; this generates ...