Mathematica's symbolic architecture immediately defines a serializable representation for any Mathematica data or program—which can then readily be stored in a file.
A possible way of working with permutations is by relating them to the reorderings of the elements of a list. This is the standard point of view in the combinatorial approach ...
As the world's best-developed tree-oriented symbolic language, Mathematica is uniquely suited to working with XML. Not only can Mathematica generate XML from scratch, it can ...
InputStream["name", n] is an object that represents an input stream for functions such as Read and Find.
Norm
(Built-in Mathematica Symbol) Norm[expr] gives the norm of a number, vector or matrix. Norm[expr, p] gives the p-norm.
StringSplit["string"] splits " string" into a list of substrings separated by whitespace. StringSplit["string", patt] splits into substrings separated by delimiters matching ...
AddTo
(Built-in Mathematica Symbol) x += dx adds dx to x and returns the new value of x.
TimesBy
(Built-in Mathematica Symbol) x *= c multiplies x by c and returns the new value of x.
The way modules work in Mathematica is basically very simple. Every time any module is used, a new symbol is created to represent each of its local variables. The new symbol ...
LinearSolve[m, b] finds an x which solves the matrix equation m.x == b. LinearSolve[m] generates a LinearSolveFunction[...] which can be applied repeatedly to different b.