wavg#

swordfish.function.wavg()#

Calculate the weighted average of X with the weight vector Y. Please note that the weight vector Y is automatically scaled such that the sum of the weights is 1.

Parameters: