Computing moments by prefix sums | IEEE Conference Publication | IEEE Xplore