Functions like Read and Write handle ordinary printable text. But in dealing with external data files or devices it is sometimes necessary to go to a lower level, and work ...
Modules in Mathematica allow you to treat the names of variables as local. Sometimes, however, you want the names to be global, but values to be local. You can do this in ...
Connecting to a subsidiary program via MathLink. This starts a subsidiary Mathematica process on the computer system used here. Here is a packet representing the first input ...
Converting to and from character codes. Mathematica assigns every character that can appear in a string a unique character code. This code is used internally as a way to ...
Constrained optimization problems are problems for which a function f(x) is to be minimized or maximized subject to constraints Φ(x). Here f:^n is called the objective ...
The general principle that Mathematica follows in evaluating expressions is to go on applying transformation rules until the expressions no longer change. This means, for ...
Converting between strings, boxes, and expressions. Here is a simple expression. This gives the InputForm of the expression as a string.
You can define wavelets to plug into the wavelet analysis framework by using the correct template. A wavelet wave is of the form wfam[args], where wfam is the symbol that ...
Density and contour plots. This gives a density plot of sin(x) sin(y). Lighter regions show higher values of the function. Some options for DensityPlot.
Within a standard interactive session, you can create "subsessions" or dialogs using the Mathematica command Dialog. Dialogs are often useful if you want to interact with ...