outerProduct(u,v) takes two vectors $u$, $v$ of equal length $n$, and returns the $n \times n$ outer product matrix $A$, with entries $A_{ij} = u_i v_j$.
outerProduct(u,v)
Vector v
v
Vector w
w
Outer product matrix
outerProduct(u,v)
takes two vectors $u$, $v$ of equal length $n$, and returns the $n \times n$ outer product matrix $A$, with entries $A_{ij} = u_i v_j$.