Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Questions on the sorting/ordering functions of Mathematica (Sort, SortBy, Ordering, etc.).
1
vote
Changing the display ordering of orderless functions?
A simple way to achieve this is by wrapping your expression as follows:
ClearAttributes[Plus, Orderless]
ClearAttributes[Times, Orderless]
x = -(1 - 2 G M/r) \[DoubleStruckD]t^2 + (1 -
2 G …
2
votes
Accepted
Outputting expressions in the order in which they're entered
I decided to contact Wolfram Technical Support (WTS) on this one. Working together, we were able to find a construction that meets my needs:
SetAttributes[fun1, HoldAll]
fun1[expr_] := Module[{}, Pr …
3
votes
2
answers
895
views
Outputting expressions in the order in which they're entered
Background
For display purposes, I sometimes find it desirable to defeat Mathematica's canonical ordering of variables, and instead have it output terms in the order in which I type them. E.g., inst …