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
Not a must-have, but certainly nice: a way to produce product spaces which are more than one-dimensional, i.e. the factors are stored in a multidimensional array rather than a list. With all the connected questions of norms, inner products etc.
We could follow a similar approach as in the case of FnBase vs. DiscreteLp: make the underlying storage linear (e.g. a NumPy array with dtype=object) and reshape to higher dimensions only on demand by some generalized Discretization class.
Of course, this will give a substantial speed penalty for a large number of member spaces compared to the situation where we have a discretization of a single large space, but I think we're going to need something like this in the long run, see e.g. #156.
The text was updated successfully, but these errors were encountered:
As long as we don't need anything else than our good old weighted p-norms, this should be working. More thoughts necessary for more complicated things.
Not a must-have, but certainly nice: a way to produce product spaces which are more than one-dimensional, i.e. the factors are stored in a multidimensional array rather than a list. With all the connected questions of norms, inner products etc.
We could follow a similar approach as in the case of
FnBase
vs.DiscreteLp
: make the underlying storage linear (e.g. a NumPy array withdtype=object
) and reshape to higher dimensions only on demand by some generalizedDiscretization
class.Of course, this will give a substantial speed penalty for a large number of member spaces compared to the situation where we have a discretization of a single large space, but I think we're going to need something like this in the long run, see e.g. #156.
The text was updated successfully, but these errors were encountered: