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 ...
• 575
130 views

### Elimination of "1" in HoldComplete [duplicate]

HoldComplete[2 3 3] will return HoldComplete[2 3 3]. HoldComplete[b a] will return ...
• 9,588
156k 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 ...
4k views

### Mathematica Destructuring

Context I'm writing a function that look something like: ...
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?). ...
• 4,722
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}$$ ...
• 372
475 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} ...
• 5,101
4k views

### Replace symbols with values without evaluation

If I have assigned values to a, b and c: a=7; b=5; c=6; ...
• 1,545
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 ...
• 967
238 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 ...
• 2,538
390 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. ...
• 2,073
162 views

### Apply functions to a BlankNullSequence

I'd need to apply all functions in a list to a BlankNullSequence (___) But when I tried ...
• 712
129 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[]]] ...
• 6,076