When you make a function definition using :=, the value of the function is recomputed every time you ask for it. In some kinds of calculations, you may end up asking for the ...
Unless f is a flat function, a pattern like f[x_,y_] stands only for instances of the function with exactly two arguments. Sometimes you need to set up patterns that can ...
In many practical situations it is convenient to consider limits in which a fixed amount of something is concentrated into an infinitesimal region. Ordinary mathematical ...
Ways to get pieces of matrices. Matrices in Mathematica are represented as lists of lists. You can use all the standard Mathematica list-manipulation operations on matrices. ...
You can ask for information about any object, whether it is built into Mathematica, has been read in from a Mathematica package, or has been introduced by you. Ways to get ...
Picking out elements of lists. We will use this list for the examples. Here is the last element of t.
With the Text graphics primitive, you can insert text at any position in two- or three-dimensional Mathematica graphics. Unless you explicitly specify a style or font using ...
MathLink allows you to exchange data of any type with external programs. For more common types of data, you simply need to give appropriate :ArgumentTypes: or :ReturnType: ...
Importing and exporting lists and tables of data. This exports a list of data to the file out1. Here are the contents of the file.
The Mathematica function Integrate[f,x] gives you the indefinite integral ∫f dx. You can think of the operation of indefinite integration as being an inverse of ...