dot

function dot(x:RealVectorLike, y:RealVectorLike) -> RealScalarLike

Vector-vector dot product.

  • x Vector xx.
  • y Vector yy.

Returns Result x⊤yx^\top y as a scalar.

function dot(x:RealVectorLike) -> RealScalarLike

Vector dot product.

  • x Vector xx.

Returns Result x⊤xx^\top x as a scalar.