rowWavg#

swordfish.function.rowWavg()#

Calculate the weighted average of X by row with Y as the weights and return a vector with the same number of rows of X.

Parameters:
  • X (Constant) – A matrix, vector, or array vector.

  • Y (Constant) – A matrix, vector, or array vector.