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
The current implementation of sage.tensor only supports tensors of the form (M*) k (x) (M) l
We propose to lift this restriction and enable the creation of more general rectangular tensors.
Modify all the methods in sage.tensor keeping the above changes in mind.
Make the self._tensor_type argument conditional, it will not be initiated when the user creates tensor product of different modules.
The final API should look as follows:
N=FiniteRankFreeModule(ZZ, 3, name='N')
M=FiniteRankFreeModule(ZZ, 4, name='M')
T=tensor([N, N.dual(), M, M.dual()]) # this will be of type TensorFreeModule_with_categoryt=T.element() # this will construct an element on T
The text was updated successfully, but these errors were encountered:
Problem Description
The current implementation of sage.tensor only supports tensors of the form (M*) k (x) (M) l
We propose to lift this restriction and enable the creation of more general rectangular tensors.
Proposed Solution
The final API should look as follows:
The text was updated successfully, but these errors were encountered: