The replacement operator /. allows you to apply transformation rules to a specific expression. Often, however, you want to have transformation rules automatically applied ...
In many kinds of calculations, you need to set up "arrays" that contain sequences of expressions, each specified by a certain index. One way to implement arrays in ...
Converting between symbols and their names. Here is the symbol x. Its name is a string.
Transparent represents perfect transparency in graphics or style specifications.
There are many functions that are built into Mathematica. This tutorial discusses how you can add your own simple functions to Mathematica. As a first example, consider ...
Patterns stand for classes of expressions. They contain pattern objects that represent sets of possible expressions. Pattern objects. When several pattern objects with the ...
When you do long calculations, it is often convenient to give names to your intermediate results. Just as in standard mathematics, or in other computer languages, you can do ...
It is always a good idea to give variables and functions names that are as explicit as possible. Sometimes, however, such names may get inconveniently long. In Mathematica, ...
f /: lhs =. removes any rules defined for lhs, associated with the symbol f.