Mathematica has many matrix operations that support operations such as building, computing, and visualizing matrices. It also has a rich language for picking out and ...
Riffle
(Built-in Mathematica Symbol) Riffle[{e_1, e_2, ...}, x] gives {e_1, x, e_2, x, ...}. Riffle[{e_1, e_2, ...}, {x_1, x_2, ...}] gives {e_1, x_1, e_2, x_2, ...}. Riffle[list, x, n] yields a list in which ...
Count
(Built-in Mathematica Symbol) Count[list, pattern] gives the number of elements in list that match pattern. Count[expr, pattern, levelspec] gives the total number of subexpressions matching pattern that ...
Mathematica supports operations on matrices of any size and has a range of input methods appropriate for different needs, from small formatted matrices via keyboard or ...
Dimensions[expr] gives a list of the dimensions of expr. Dimensions[expr, n] gives a list of the dimensions of expr down to level n.
ArrayQ
(Built-in Mathematica Symbol) ArrayQ[expr] gives True if expr is a full array or a SparseArray object, and gives False otherwise. ArrayQ[expr, patt] requires expr to be a full array with a depth that ...
LongestCommonSubsequence[s_1, s_2] finds the longest contiguous subsequence of elements common to the strings or lists s_1 and s_2.
Applying Transformation Rules Manipulating Sets of Transformation Rules Making Definitions
Mathematica gives you immediate access to many details of your Mathematica session—in the form of symbolic expressions that can readily be manipulated by the Mathematica ...
Mathematica provides a uniquely powerful interactive environment for building up arbitrarily complex computations, under convenient interactive or programmatic control.