Skip to content

Commit

Permalink
Add sptenmat (#290)
Browse files Browse the repository at this point in the history
* Starting with constructors and initial tests

* SPTENMAT:
 * Resolve existing formatting issues

* SPTENMAT:
 * Add typing and test coverage to existing methods

* SPTENMAT:
 * Add remaining methods from MATLAB

* SPTENSOR: Fix some formatting around backticks

* SPTENMAT: Add automation for inline doc strings

* SPTENMAT: Add tutorial

* SPTENMAT: Add conversion to sptensor

* SPTENMAT: Replace uses of tt_to_sparse_matrix and tt_from_sparse_matrix

---------

Co-authored-by: Danny Dunlavy <[email protected]>
  • Loading branch information
ntjohnson1 and dmdunla authored Nov 14, 2023
1 parent b7bab9b commit 5751f02
Show file tree
Hide file tree
Showing 9 changed files with 1,253 additions and 117 deletions.
8 changes: 7 additions & 1 deletion docs/source/sptenmat.rst
Original file line number Diff line number Diff line change
@@ -1,2 +1,8 @@
pyttb.sptenmat
======================
----------------------

.. autoclass:: pyttb.sptenmat
:members:
:special-members:
:exclude-members: __dict__, __weakref__, __slots__, __init__
:show-inheritance:
1 change: 1 addition & 0 deletions docs/source/tensor_classes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ Tensor Classes
:maxdepth: 2

ktensor.rst
sptenmat.rst
sptensor.rst
sumtensor.rst
tensor.rst
Expand Down
Loading

0 comments on commit 5751f02

Please sign in to comment.