Skip to content
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

Expanding the sage.tensor to handle multi-dimensional tensors #38249

Draft
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

amanmoon
Copy link
Contributor

Implementation of multi-dimensional arrays in sage.tensor.

  • In the TensorFreeModule.__init__ and FreeModuleTensor.__init__ now the self._fmodule argument stores the modules as a tuple.
  • Made the self._tensor_type argument conditional, it will not be initiated when the user creates tensor product of different modules.
  • Added a new argument self._shape.

Fixes #38247

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Enhance sage.tensor to support general rectangular arrays
2 participants