Open haakon-e opened 1 week ago
DimStack is a totally custom creation (it's like a NamedTuple/Array Franken thing) so we can do what we want. It makes sense to add a replace! method.
You may also want to pass a NamedTuple of values for each layer? That should also be allowed.
This should be easy to do. Currently you can
However, this doesn't work over
DimStack
s unless you know what you're doingmaybe I'm just again stumbling over julian-vs-non-julian ways of doing this with respect to broadcasting, and what's more sensible is to extend the error hint to be:
ref array-of-arrays.