Talk:Numeric error propagation: Difference between revisions
Content added Content deleted
(→Not sure how to do this: why id()?) |
(→Not sure how to do this: ('told you I just extracted the equations :-)) |
||
Line 20: | Line 20: | ||
b := a * 2 |
b := a * 2 |
||
c := a - b</lang>How do you deal with the error at assignment of c and d? Checking memory location isn't enough. If a variable has full error source information, a and b would have the same source of error but with different magnitude, so c.error == a.error, but a and b won't have the same mem location so you probably would think c.error = a.error * sqrt(5). Checking identifier equality is not much more correct than tracking nothing, but more confusing and less consistent. --[[User:Ledrug|Ledrug]] 20:20, 31 July 2011 (UTC) |
c := a - b</lang>How do you deal with the error at assignment of c and d? Checking memory location isn't enough. If a variable has full error source information, a and b would have the same source of error but with different magnitude, so c.error == a.error, but a and b won't have the same mem location so you probably would think c.error = a.error * sqrt(5). Checking identifier equality is not much more correct than tracking nothing, but more confusing and less consistent. --[[User:Ledrug|Ledrug]] 20:20, 31 July 2011 (UTC) |
||
::: Ahh. Gotcha. I'll scrub that. Thanks. --[[User:Paddy3118|Paddy3118]] 01:12, 1 August 2011 (UTC) |