Skip to content

Conversation

@ntjohnson1
Copy link
Collaborator

@ntjohnson1 ntjohnson1 commented Dec 13, 2023

Resolves: #214 but not the full documentation task since I ran out of steam.

Sptenmat is pretty straightforward based on our other constructors. Tenmat was complicated because we had expanded it to take in ANY array regardless of layout and we would try to reshape it for the end user. I constrained it to taking data that is already matricized correctly. My expectation is most people will generate a tenmat from an existing tensors as an intermediate for some operation rather than directly.

I also fixed the dimension inference here and provided an example #102 (comment).


📚 Documentation preview 📚: https://pyttb--293.org.readthedocs.build/en/293/

@ntjohnson1 ntjohnson1 marked this pull request as ready for review December 13, 2023 23:52
@ntjohnson1 ntjohnson1 requested a review from dmdunla December 13, 2023 23:53
@ntjohnson1 ntjohnson1 mentioned this pull request Dec 16, 2023
@dmdunla dmdunla merged commit ebd5069 into sandialabs:main Apr 3, 2024
@ntjohnson1 ntjohnson1 deleted the nick/tenmat_constructors branch October 24, 2024 15:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update tenmat to updated constructor interface

2 participants