CrossMatrix[r] gives a matrix whose elements are 1 in a centered cross-shaped region that extends r positions along each index direction, and are 0 otherwise.CrossMatrix[r, ...
DiamondMatrix[r] gives a matrix whose elements are 1 in a diamond-shaped region that extends r index positions to each side, and are 0 otherwise.DiamondMatrix[r, w] gives a ...
DiskMatrix[r] gives a matrix whose elements are 1 in a disk-shaped region of radius r, and are otherwise 0.DiskMatrix[r, w] gives a w*w matrix containing a disk of 1s with ...
IdentityMatrix[n] gives the n*n identity matrix.
Functions for constructing matrices. This generates a 2×2 matrix whose i,j^th entry is a[i,j]. Here is another way to produce the same matrix.
Mathematica's highly optimized filtering capabilities provide a wide range of linear and modern nonlinear local filters, as well as a variety of nonlocal filters, which can ...
Building on its broad strengths in mathematics in general, and in special functions in particular, Mathematica provides a unique level of support for multiplicative number ...
Padding
(Built-in Mathematica Symbol) Padding is an option to various array and image operations that specifies what padding to use when extending beyond the original data specified.
GaussianMatrix[r] gives a matrix that corresponds to a Gaussian kernel of radius r. GaussianMatrix[{r, \[Sigma]}] gives a matrix corresponding to a Gaussian kernel with ...
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 ...