Closed HKdAlex closed 11 months ago
Thank you for the correction, I indeed should not have divided by 1/n when calculating the sum, you are right. Can you submit a PR (Pull Request)?
Yes, submitted a pull request, though I never did it before. Hoping I did it correctly.
@HKdAlex Merged, your implementation is correct, thank you for pointing it out !
Is this function actually correct?
This line does not seem to be calculating the magnitude of a vector which is supposed to the square root of the sum of squares (RSS) but is actually calculating the RMS (the square root of the mean sum of squares):
My suggested correction would be:
I am not good at this stuff but trying t figure it out.