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.

参数:
  • X (Constant) -- A matrix, vector, or array vector.

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