If you have special-purpose programs written in C or Fortran, you may want to take formulas you have generated in Mathematica and insert them into the source code of your ...
Importing and exporting tabular data. This exports an array of numbers to the file out.dat. Here are the contents of the file out.dat.
Mathematica creates a new symbol when you first enter a particular name. Sometimes it is useful to "intercept" the process of creating a new symbol. Mathematica provides ...
Many of the most powerful list manipulation operations in Mathematica treat whole lists as single objects. Sometimes, however, you need to pick out or set individual elements ...
Functions for manipulating files. Different operating systems have different commands for manipulating files. Mathematica provides a simple set of file manipulation ...
Functions relating real numbers and integers. Extracting integer and fractional parts. IntegerPart[x] and FractionalPart[x] can be thought of as extracting digits to the left ...
Functions to pick out pieces of polynomials. Here is an algebraic expression. This gives the coefficient of x in e.
Mathematica can be used to make plots of functions. You give Mathematica a function, and it builds up a curve or surface by evaluating the function at many different points. ...
The leading term of a polynomial can be chosen in many different ways. For multivariate polynomials, sorting by the total degree of the monomials is often useful. Different ...
Repeated patterns. Multiple blanks such as x__ allow you to give patterns in which sequences of arbitrary expressions can occur. The Mathematica pattern repetition operators ...