dot

function dot(x:Real[_]) -> Real

Dot product of a vector with itself.

function dot(x:Integer[_]) -> Integer

Dot product of a vector with itself.

function dot(x:Real[_], y:Real[_]) -> Real

Dot product of one vector with another.

function dot(x:Integer[_], y:Integer[_]) -> Integer

Dot product of one vector with another.