perl v5.10.0, PDL v2.4.7, Linux 188.8.131.52-0.1-pae
calculation of the absolute deviation in function description:
ADEV = sqrt(sum( abs(x-mean(x)) )/N)
calculation of adev in source code (primitive.pd, line 1299):
$adev() = tmp1/norm;
this conflicts with the function description and should be (like line 1341):
$adev() = sqrt( tmp1/norm );
it is not a real bug but a bit confusing and should be consistent.
Log in to post a comment.