Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Thanks, I like the second approach, it may work out as succinctly as using H(0)=0 since X is actually the difference of two random variables earlier in my algorithm.