Copyright 2022 National Technology & Engineering Solutions of Sandia,
LLC (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the
U.S. Government retains certain rights in this software.
Welcome to pyttb
, a set of Python classes and methods functions for
manipulating dense, sparse, and structured tensors, along with algorithms
for computing low-rank tensor models.
Tensor Classes:
tensor
: dense tensorssptensor
: sparse tensorsktensor
: Kruskal tensorstenmat
: matricized tensorsttensor
: Tucker tensors
Tensor Algorithms:
cp_als
,cp_apr
: Canonical Polyadic (CP) decompositionstucker_als
: Tucker decompostions
For full details see our documentation.
We are on pypi
pip install pyttb
or install from source
pip install .
Check out our contributing guide.