dot_product

dot_product(alpha, sigma)[source]

Computes the standard dot product of alpha with sigma.

Parameters:
  • alpha (RealVector) – The alpha vector.

  • sigma (RealVector) – The sigma vector.

Returns:

Sum of element-wise multiplication of alpha and sigma.

Return type:

np.ndarray