math.outer.product

Syntax

vr = math.outer.product(v1,v2)

Get the outer product of matrices or vectors. v1 and v2 must either be vectors of the same dimension (i.e., 2D or 3D), or matrices where v1 is a column matrix and v2 is a row matrix with the same number of entries.

Returns:

vr - matrix

Arguments:

v1 - matrix or vector

v2 - matrix or vector