auto a = [ 1.0f, 2, 3, 4 ]; assert( a.centralMoment(1) == 0 ); assert( a.centralMoment(2) == 1.25 ); assert( a.centralMoment(3) == 0 );
See Implementation