You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At the end of #1, there was a discussion of whether it would be possible to specify the dimensionality for the Array created with to_ndarray. In particular, it might be more useful to have this method prototype instead:
I will leave this issue for discussion on the feasibility of this. Basically, this requires a conversion (which can fail) from a dynamic shape to an arbitrary dimension type D. I haven't found a way to do this yet in ndarray. There is also the small drawback that one has to specify two parameter types instead of just one. IxDyn is a good default, but default type parameters do not work on functions (rust/#36887).
The text was updated successfully, but these errors were encountered:
At the end of #1, there was a discussion of whether it would be possible to specify the dimensionality for the
Array
created withto_ndarray
. In particular, it might be more useful to have this method prototype instead:I will leave this issue for discussion on the feasibility of this. Basically, this requires a conversion (which can fail) from a dynamic shape to an arbitrary dimension type
D
. I haven't found a way to do this yet inndarray
. There is also the small drawback that one has to specify two parameter types instead of just one.IxDyn
is a good default, but default type parameters do not work on functions (rust/#36887).The text was updated successfully, but these errors were encountered: