pymem3dg.util.rowwiseDotProduct

pymem3dg.util.rowwiseDotProduct(a: ndarray[Any, dtype[float64]], b: ndarray[Any, dtype[float64]])

rowwise dot product

Parameters:
  • a (ndarray) – matrix 1, dimension = 2

  • b (ndarray) – matrix 2, dimension = 2

Returns:

vector of rowwise dot product

Return type:

array