outer


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

Vector-vector outer product.

  • x Vector x.
  • y Vector y.

Returns Result C = xy^\top.

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

Matrix-matrix outer product.

  • A Matrix A.
  • B Matrix B.

Returns Result C = AB^\top.

function outer(x:RealVectorLike) -> RealMatrixLike

Vector outer product.

  • x Vector x.

Returns Result B = xx^\top.

function outer(A:RealMatrixLike) -> RealMatrixLike

Matrix outer product.

  • A Matrix A.

Returns Result B = AA^\top.