Talk:Active object: Difference between revisions

no edit summary
No edit summary
No edit summary
 
(One intermediate revision by one other user not shown)
Line 12:
:* Alternatively we could use a more complex function of time, in order to make it impossible to evaluate accumulated state change over any considerably larger period of time. Actually all numeric simulations are like that. An easy way could be to make the input ''K'' a subprogram, rather than constant. The integrator will integrate ''K''(''t'')d''t''. Would it be better? --[[User:Dmitry-kazakov|Dmitry-kazakov]] 08:50, 4 November 2008 (UTC)
:: Your second option (subprogram) is the same as my second option, in different terms. Go ahead and change the task; I'll update my example afterward. --[[User:Kevin Reid|Kevin Reid]] 00:35, 5 November 2008 (UTC)
::: OK, I have changed it. --[[User:Dmitry-kazakov|Dmitry-kazakov]] 10:24, 5 November 2008 (UTC)
:::: I have updated my example to match. Note that the input function is not an explicit function of time; I feel this is appropriate both as good E programming style, and because other input functions might use something other than time; e.g. the current value of some variable, or some external input, etc. --[[User:Kevin Reid|Kevin Reid]] 21:20, 5 November 2008 (UTC)