outer

function outer(x:RealVectorLike, y:RealVectorLike) -> RealMatrixLike

Vector-vector outer product.

  • x Vector xx.
  • y Vector yy.

Returns Result C=xy⊤C = xy^\top.

function outer(A:RealMatrixLike, B:RealMatrixLike) -> RealMatrixLike

Matrix-matrix outer product.

  • A Matrix AA.
  • B Matrix BB.

Returns Result C=AB⊤C = AB^\top.

function outer(x:RealVectorLike) -> RealMatrixLike

Vector outer product.

  • x Vector xx.

Returns Result B=xx⊤B = xx^\top.

function outer(A:RealMatrixLike) -> RealMatrixLike

Matrix outer product.

  • A Matrix AA.

Returns Result B=AA⊤B = AA^\top.