19 questions linked to/from How can one manually change the rule ordering
132k 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 ...
13k views

Are you interested in purchasing David Wagner's “Power programming with Mathematica”?

I recently contacted McGraw-Hill to see if they have a mechanism in place for printing out-of-print books that are still of interest. Specifically, I asked about "Power programming with Mathematica" ...
3k views

How to select minimal subsets?

I am a newbie, so please point me in the right direction if you feel this question has been answered somewhere else before. Here goes: Suppose I have a list like this: ...
959 views

Making a symbol's new definitions be tried before all previously defined ones

Is there any way to "close" a package (or a symbol, or a context) in that if a user of the package adds definitions to the symbol they will be tried before the package defined ones, just like what ...
2k views

How to generally match, unify and merge patterns?

This question was split from this one. While that question is now about how to match two particular patterns (mostly using Verbatim or ...
1k views

Permanently extending the behaviour of functions (like decorators)

Suppose I have a function, e.g. f[x_] := x^2 It works like this: f[5] (* 25 *) I would like to permanently modify it so ...
2k views

Format and TeXForm does not work as expected

Recently, we had a nice question which brought up an issue that I believe is a bug. In the tutorial Defining Output Formats, there is an example at the end which doesn't make sense: This specifies ...
2k views

How is pattern specificity decided?

Mathematica has a notion of pattern specificity, which is a partial ordering on patterns. The rules (e.g. DownValues, SubValues,...
519 views

is it possible to change/customize some conversions done by TeXForm?

I use TeXForm to convert output of some computation to Latex. I'd like to ask if there is a way to override/change/customize some of these conversions, related to just the name Mathematica assigns to ...
296 views

How do I get Mathematica to produce TeX output that does not omit the multiplication signs? For example, this expression: ...
862 views

How do I adjust the thickness of all the FrameTicks? [duplicate]

I am very sorry if this is trivial, but I can not for the life of me adjust the thickness of all tick marks in Plots. Depending on the data to plot, either the top, bottom, top and bottom, or top and ...
461 views

For convenience I'm trying to add an extra property to CountryData ...
257 views

How to force TeXForm not to use “array” environment for a square array?

The default behavior of Mathematica, transforms a jagged array TeXForm[{{1, 2}, {3}}] to \{\{1,2\},\{3\}\} but a ...
325 views

How to make a function remember its evaluation history

Suppose I have a function: fun[n_] := N[2 n*Sin[n]] When I use it for the following calculations, it gives me some results: ...
173 views

Using brackets with limits in evaluation of definite integral

How to do this in Mathematica: $$\int_1^2 x^2 \, dx=\left[\frac{x^3}{3}\right]_1^2$$ or $$\int_1^2 x^2 \, dx=\left.\frac{x^3}{3}\right|_1^2$$ Also is there a function that represents the right hand ...

15 30 50 per page