Matrix inversion. Here is a simple 2×2 matrix. This gives the inverse of m. In producing this formula, Mathematica implicitly assumes that the determinant ad-bc is nonzero.
The Lotka–Volterra system arises in mathematical biology and models the growth of animal species. Consider two species where Y_1(T) denotes the number of predators and Y_2(T) ...
Searching for local minima and maxima. This finds the value of x which minimizes Γ(x), starting at x2. The last element of the list gives the value at which the minimum is ...
Mathematica saves information about every plot you produce, so that you can later redraw it. When you redraw plots, you can change some of the options you use. Functions for ...
To run Mathematica from within an external program requires making use of many general features of MathLink. The first issue is how to establish a MathLink connection to ...
Throughout any computation, Mathematica maintains an evaluation stack containing the expressions it is currently evaluating. You can use the function Stack to look at the ...
Derivatives in Mathematica work essentially the same as in standard mathematics. The usual mathematical notation, however, often hides many details. To understand how ...
CUDAFoldList[f, x, {a, b, ...}] gives {x, f[x, a], f[f[x, a], b], ...}.
CUDAMap[f, lst] applies f to each element on lst.
CUDATranspose[mat] transposes input matrix mat.CUDATranspose[mem] transposes input CUDAMemory mem.