Summary
Full Transcript
►Full C++ Series Playlist: https://www.youtube.com/playlist?list=PLvv0ScY6vfd8j-tlhYVPYgiIyXduu6m-L ►Find full courses on: https://courses.mshah.io/ ►Join as Member to Support the channel: https://www.youtube.com/channel/UCA64pZbN5Mz5NxC3SO4qpDg/join ►Lesson Description: In this lesson I will show you the handy partial_sum numeric algorithm -- which could be handy for something as simple as summing the area under the curve. I'll also show you how this function can be used for computing a factorial by providing a 'multiplies' functor, and finally one other fun example by performing a 'cummulative sum' (another way to think of partial_sum) with a custom object to represent dice rolls in a game. ►YouTube Channel: https://www.youtube.com/c/MikeShah ►Please like and subscribe to help the channel! ►Join our free community: https://courses.mshah.io/communities/Q29tbXVuaXR5LTI3MzAz
