Idiomatic way to access traits and certain variables
I have a few mathematical objects which I have mostly stripped down to illustrate my questions regarding the idiomatic design of such a collection. All of these objects share a few common variables, but some have additional ones. In this stripped down example, using these variables, I want to calculate function
:
Idiomatic way to access traits and certain variables
I have a few mathematical objects which I have mostly stripped down to illustrate my questions regarding the idiomatic design of such a collection. All of these objects share a few common variables, but some have additional ones. In this stripped down example, using these variables, I want to calculate function
: