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. ...
UnitStep[x] represents the unit step function, equal to 0 for x < 0 and 1 for x >= 0. UnitStep[x_1, x_2, ...] represents the multidimensional unit step function which is 1 ...
These "How tos" give step-by-step instructions for common tasks related to linear algebra in Mathematica .
Head
(Built-in Mathematica Symbol) Head[expr] gives the head of expr.
Sometimes you may want to work with a specific part of a file instead of all of it. When bringing a file into Mathematica , you can elect to import just individual parts of ...
Now that we have introduced the basic features of patterns in Mathematica, we can use them to give a more or less complete example. We will show how you could define your own ...
Save
(Built-in Mathematica Symbol) Save["filename", symbol] appends definitions associated with the specified symbol to a file. Save["filename", " form"] appends definitions associated with all symbols whose ...
Fold
(Built-in Mathematica Symbol) Fold[f, x, list] gives the last element of FoldList[f, x, list].
PolynomialQ[expr, var] yields True if expr is a polynomial in var, and yields False otherwise. PolynomialQ[expr, {var_1, ...}] tests whether expr is a polynomial in the var_i.
Clip
(Built-in Mathematica Symbol) Clip[x] gives x clipped to be between -1 and +1. Clip[x, {min, max}] gives x for min <= x <= max, min for x < min and max for x > max. Clip[x, {min, max}, {v_min, v_max}] ...