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: X (Constant) – The value vector. Y (Constant) – The weight vector.