Skip to main content

Python Tensor Toolbox

Project description

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.

Regression tests Coverage Status pypi package image Ruff Code style: black

pyttb: Python Tensor Toolbox

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 tensors
  • sptensor: sparse tensors
  • ktensor: Kruskal tensors
  • tenmat: matricized tensors
  • ttensor: Tucker tensors

Tensor Algorithms:

  • cp_als, cp_apr: Canonical Polyadic (CP) decompositions
  • tucker_als: Tucker decompostions

Getting Started

For full details see our documentation.

Quick Start

We are on pypi

pip install pyttb

or install from source

pip install .

Contributing

Check out our contributing guide.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyttb-1.7.0.tar.gz (164.0 kB view details)

Uploaded Source

Built Distribution

pyttb-1.7.0-py3-none-any.whl (130.6 kB view details)

Uploaded Python 3

File details

Details for the file pyttb-1.7.0.tar.gz.

File metadata

  • Download URL: pyttb-1.7.0.tar.gz
  • Upload date:
  • Size: 164.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for pyttb-1.7.0.tar.gz
Algorithm Hash digest
SHA256 a8b3605f84f9920c07f0db1d883c26d3d61d3f7b45e8f3a63fb6b27f20887080
MD5 81a095e341910403967a93e1a8e61237
BLAKE2b-256 e3e77462a1bac6f2f5477f2920779cd41c671fbbbbec65bea65d257d0da95efa

See more details on using hashes here.

File details

Details for the file pyttb-1.7.0-py3-none-any.whl.

File metadata

  • Download URL: pyttb-1.7.0-py3-none-any.whl
  • Upload date:
  • Size: 130.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for pyttb-1.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7dabc958b946abce2a62576bd80327c243e6193dc863a88fe308dca015ff227e
MD5 9ad54e22660703f27292a2c2bcdcefa7
BLAKE2b-256 9637100fbecaf1aca75e9eb452682065648d017701c7a9ff96e281282c581585

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page