One reason I started thinking about this is I am hoping that this might help with derivatives - taking derivatives increases the dimensionality. How best to handle this? Should we take vectors of properties, or should we create a higher-dimensional array?
CC @zhanglw0521 @MatthiasSachs
What if we created the following type hierarchy:
then we have the advantage that we can leverage all of
StaticArrays.jl
to do arithmetic on these properties.See also this part of the documentation
One reason I started thinking about this is I am hoping that this might help with derivatives - taking derivatives increases the dimensionality. How best to handle this? Should we take vectors of properties, or should we create a higher-dimensional array?