I got a VB.net function:
Private Function Mean(ByVal A() As Double) As Double
I found that I can modify elements of A using the statement like
and I doesn't feel this is a good declaration of the function but couldn't find a better way.
How can I do it better?