-
wavg implementation detail
Hi, everyone.
I have some questions about wavg function.
0 wavg 5 / 5
5 wavg 5 / 5
2 wavg 2 3 7 / 4 5 2
3 wavg 3 / 3
According to the doc, the x and y of wavg[x;y] must both be numeric lists. But for these invalid inputs, wavg still yields some results. Could anyone help me understand the results of these invalid x and y?
What’s the behavior of wavg when x and y aren’t numeric lists or they don’t conform? It seems like avg y but I’m not sure.
If you know more about wavg’s implementation detail, please help me. Thanks.
Log in to reply.