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.

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

Dot product of a vector with each of the columns of a matrix, to produce matrix with a single row.

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

Dot product of a vector with each of the columns of a matrix, to produce matrix with a single row.