File tree 2 files changed +17
-4
lines changed
2 files changed +17
-4
lines changed Original file line number Diff line number Diff line change @@ -4,16 +4,30 @@ pyttb: Python Tensor Toolbox
4
4
****************************
5
5
Tensors (also known as multidimensional arrays or N-way arrays) are used
6
6
in a variety of applications ranging from chemometrics to network
7
- analysis.
7
+ analysis.
8
8
9
- - Install the latest release from pypi (`` pip install pyttb ``) .
10
- - This is open source software. Please see `LICENSE `_ for the
9
+ - This Python package is an adaptation of the open source ` Tensor Toolbox for MATLAB < https://www.tensortoolbox.org >`_ .
10
+ - This is open source software. Please see `LICENSE < https://github.com/sandialabs/pyttb/blob/main/LICENSE > `_ for the
11
11
terms of the license (2-clause BSD).
12
+ - The pyttb code repository is hosted at `github <https://github.com/sandialabs/pyttb >`_.
13
+ - Contributions are welcome; see `CONTRIBUTING <https://github.com/sandialabs/pyttb/blob/main/CONTRIBUTING.md >`_.
14
+ - Reports of bugs and feature requests can be `submitted on github <https://github.com/sandialabs/pyttb/issues >`_.
12
15
- For more information or for feedback on this project, please `contact us `_.
13
16
14
17
.. _`LICENSE` : ../../../LICENSE
15
18
.. _contact us : #contact
16
19
20
+
21
+ Installing
22
+ ==========
23
+
24
+ * Via pypi
25
+ - Install the latest release from pypi (``pip install pyttb `` or ``python -m pip install pyttb ``)
26
+ * From source
27
+ - Clone the repository from `github <https://github.com/sandialabs/pyttb >`_.
28
+ - Install the package with ``pip install . `` from the pyttb root directory.
29
+ - Note: Use ``pip install -e ".[dev,doc]" `` if you are planning development.
30
+
17
31
Functionality
18
32
==============
19
33
pyttb provides the following classes and functions
Original file line number Diff line number Diff line change @@ -1391,7 +1391,6 @@ def symmetrize( # noqa: PLR0912,PLR0915
1391
1391
combos = []
1392
1392
for i in range (0 , ngrps ):
1393
1393
combos .append (np .array (list (permutations (grps [i , :]))))
1394
- combos = np .stack (combos )
1395
1394
1396
1395
# Create all the permutations to be averaged
1397
1396
combo_lengths = [len (perm ) for perm in combos ]
You can’t perform that action at this time.
0 commit comments