-
Notifications
You must be signed in to change notification settings - Fork 105
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Power spaces and tensors #857
Comments
I am against limiting the functionality of the current What I would do as of now is start with adding a power space equivalent inside |
Well I was specifically talking about power spaces, where you don't combine arbitrary spaces. Any time you have a I'm trying to think about a situation where it would be better to use a
The infrastructure in |
Mathematically yes, programming wise no. Storage is notably different.
Power syntax looks cool, I like it.
Anytime you want to wrap something. Can't think of an acute case right now but I'm sure there are cases. Also ofc in cases where you do not have access to the full machinery (i.e. if someone implemented a
Well that is no minor task, we need to explicitly handle the "semi-discretized" case. I.e how to represent it, etc. My suggestion
|
Decent suggestion, I agree we shouldn't drop support for the "old way" easily. |
This has no immediate TODO, and the discussion is settled. Closing. |
Another question pops up with respect to tensors in #738: How to represent power spaces?
One possibility for
TensorSpace
based power spaces is to just make a new such space with new leading dimension(s) added. That would greatly simplify a number of implementations (likePointwiseSum
, becomes a one-liner basically) and allow for powers of arbitrary dimensions.But for general spaces we may want to keep the "lazy" power space approach that allows any sequence of identical spaces.
The downside of this "legacy" support is the burden on implementers of new functionality on power spaces. It will either be a lot of work to make it work for the "lazy" spaces or support for them will simply be lacking, which is not really good.
I guess the real question is whether or not power spaces of arbitrary spaces that are not
TensorSpace
based are of big importance and whether or not they should be supported by every vector or tensor field code to be written.Opinions?
The text was updated successfully, but these errors were encountered: