Created
October 28, 2013 15:05
-
-
Save funrep/7198390 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15:59 < ocharles> klrr_: that's euler integration | |
15:59 < ocharles> klrr_: the idea is that we assume the thing being integrated is a stepped graph | |
15:59 < ocharles> so we take the last produced value and multiple it by dt - which means we assume | |
that for dt seconds the value was the previous value | |
16:00 < ocharles> then we add that onto an accumulator | |
16:00 < ocharles> so we're approximing an integral by sampling at some frequency and assuming a | |
'rectangle' under the curve until the next instant |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment