Open asinghvi17 opened 2 weeks ago
Yeah, Dimensions are not AbstractArrays, just wrappers. I'm not sure taking the adjoint of them makes sense. But you can take the adjoint of lookup(xdim)
.
But also, what you are doing is pretty much DimPoints
which also has the nice property of being lazy.
A common syntax to evaluate a function on a grid is:
If I try this with dimensions,
then I get an error saying that
adjoint
is not defined forY{...}
. The same for e.g. transpose and permutedims.Is there currently a way to make this syntax work, or interest in doing so?