Mathematica 9 is now available

Documentation / Mathematica / Built-in Functions / Lists and Matrices / Matrix Operations /

Outer

FilledSmallSquare Outer[f, , , ... ] gives the generalized outer product of the , forming all possible combinations of the lowest-level elements in each of them, and feeding them as arguments to f.

FilledSmallSquare Outer[f, , , ... , n] treats as separate elements only sublists at level n in the .

FilledSmallSquare Outer[f, , , ... , , , ... ] treats as separate elements only sublists at level in the corresponding .

FilledSmallSquare Example: Outer[f,a,b,x,y] LongRightArrow.

FilledSmallSquare Outer[Times, , ] gives an outer product.

FilledSmallSquare The result of applying Outer to the tensors and is the tensor with elements f[,]. Applying Outer to two tensors of ranks and gives a tensor of rank .

FilledSmallSquare The heads of both must be the same, but need not necessarily be List.

FilledSmallSquare The need not necessarily be cuboidal arrays.

FilledSmallSquare The specifications of levels must be integers.

FilledSmallSquare If only a single level specification is given, it is assumed to apply to all the . If there are several , but fewer than the number of , all levels in the remaining will be used.

FilledSmallSquare Outer can be used on SparseArray objects, returning a SparseArray object when possible.

FilledSmallSquare See Section 2.2.10, Section 2.4.3, Section 3.7.5 and Section 3.7.11.

FilledSmallSquare See also: Inner, Distribute, Cross.

FilledSmallSquare New in Version 1; modified in 3.

Further Examples



Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.