Understanding how AffineScalarFunc
and Variable
work
#217
Replies: 6 comments 18 replies
-
For example, if there are |
Beta Was this translation helpful? Give feedback.
-
#189 is the context in which I have looked most closely at the code as well. I was really wishing for type hints while trying to understand |
Beta Was this translation helpful? Give feedback.
-
FWIW, ufloats can be correlated, using
prints
and then
gives
I am not at all saying that I fully understand this, and the levels of indirection are somewhat (or more!) confusing. |
Beta Was this translation helpful? Give feedback.
-
I guess if we're all a little confused I don't feel bad shouting out to @lebigot for a little primer on how these objects work together to give |
Beta Was this translation helpful? Give feedback.
-
One confusion that we might want to clear up in the package's terminology is that there is a |
Beta Was this translation helpful? Give feedback.
-
It would be good to have the circular dependency of: |
Beta Was this translation helpful? Give feedback.
-
I'm trying to understand the discussion in #189. For this I need to better understand how
AffineScalarFunc
,Variable
andLinearCombination
work. I'm working through the code, but I think some quick discussion might get me there a little faster if folks are willing to teach. I think the other maintainers already have a much better idea than me.I'm especially trying to understand how
uncertainties
is able to handle correlations between variables. I guess the idea is that if a set of variables are correlated then they are stored together within the sameAffineScalarFunc
(within aLinearCombination
) object.Looking through the code I think I'm seeing some documentation issues, I'm also wondering if there are opportunities for refactoring to make the code a bit easier to follow. But at this point I don't think I understand enough to make a judgement there.
Beta Was this translation helpful? Give feedback.
All reactions