Constructing matrices with special shapes. This creates a matrix of 0s containing a radius 4 diamond of 1s. The result is a 9×9 matrix. The size of the matrix can be ...
ConstantArray[c, n] generates a list of n copies of the element c.ConstantArray[c, {n_1, n_2, ...}] generates an n_1*n_2*... array of nested lists containing copies of the ...
LowerTriangularize[m] gives a matrix in which all but the lower triangular elements of m are replaced with zeros. LowerTriangularize[m, k] replaces with zeros only the ...
ArrayComponents[array] gives an array in which all identical elements of array are replaced by an integer index representing the component in which the element ...
Mathematica provides built-in functions for generating standard structure matrices and convolution kernels in any number of dimensions, in a form that can be used directly in ...
CUDADot[vec 1, vec 2] gives the dot product of vec_1 and vec_2.CUDADot[mat, vec] gives the matrix-vector product of mat and vec.CUDADot[mat_1, mat_2] gives the matrix-matrix ...
Mathematica 7 extends its general treatment of lists and matrices by adding a variety of convenient functions, including support for common convolution and structure matrices.
ObservabilityMatrix[ss] gives the observability matrix of the StateSpaceModel object ss.
IncidenceMatrix[g] gives the vertex-edge incidence matrix of the graph g.
WeightedAdjacencyMatrix[g] gives the adjacency matrix of edge weights of the graph g.