All Projects → oseledets → Ttpy

oseledets / Ttpy

Licence: mit
Python implementation of the TT-Toolbox

Programming Languages

python
139335 projects - #7 most used programming language

Labels

Projects that are alternatives of or similar to Ttpy

Itensors.jl
A Julia library for efficient tensor computations and tensor network calculations
Stars: ✭ 199 (+30.07%)
Mutual labels:  tensors
Tiramisu
A polyhedral compiler for expressing fast and portable data parallel algorithms
Stars: ✭ 685 (+347.71%)
Mutual labels:  tensors
Aardvark.base
Aardvark is an open-source platform for visual computing, real-time graphics and visualization. This repository is the basis for most platform libraries and provides basic functionality such as data-structures, math and much more.
Stars: ✭ 117 (-23.53%)
Mutual labels:  tensors
caffe-simnets
The SimNets Architecture's Implementation in Caffe
Stars: ✭ 13 (-91.5%)
Mutual labels:  tensors
Itensor
A C++ library for efficient tensor network calculations
Stars: ✭ 269 (+75.82%)
Mutual labels:  tensors
Pytorch Cpp
C++ Implementation of PyTorch Tutorials for Everyone
Stars: ✭ 1,014 (+562.75%)
Mutual labels:  tensors
Scatteract
Project which implements extraction of data from scatter plots
Stars: ✭ 181 (+18.3%)
Mutual labels:  tensors
Hptt
High-Performance Tensor Transpose library
Stars: ✭ 141 (-7.84%)
Mutual labels:  tensors
Fastor
A lightweight high performance tensor algebra framework for modern C++
Stars: ✭ 280 (+83.01%)
Mutual labels:  tensors
Cadabra2
A field-theory motivated approach to computer algebra.
Stars: ✭ 112 (-26.8%)
Mutual labels:  tensors
heat
Distributed tensors and Machine Learning framework with GPU and MPI acceleration in Python
Stars: ✭ 127 (-16.99%)
Mutual labels:  tensors
GenericTensor
The only library allowing to create Tensors (matrices extension) with custom types
Stars: ✭ 42 (-72.55%)
Mutual labels:  tensors
Mctc4bmi
Matrix and Tensor Completion for Background Model Initialization
Stars: ✭ 69 (-54.9%)
Mutual labels:  tensors
Abacus
Advanced Combinatorics and Algebraic Number Theory Symbolic Computation library for JavaScript, Python
Stars: ✭ 16 (-89.54%)
Mutual labels:  tensors
Array
C++ multidimensional arrays in the spirit of the STL
Stars: ✭ 123 (-19.61%)
Mutual labels:  tensors
Xtensor
C++ tensors with broadcasting and lazy computing
Stars: ✭ 2,453 (+1503.27%)
Mutual labels:  tensors
Easytensor
Many-dimensional type-safe numeric ops
Stars: ✭ 35 (-77.12%)
Mutual labels:  tensors
Aesara
Aesara is a fork of the Theano library that is maintained by the PyMC developers. It was previously named Theano-PyMC.
Stars: ✭ 145 (-5.23%)
Mutual labels:  tensors
Tntorch
Tensor Network Learning with PyTorch
Stars: ✭ 133 (-13.07%)
Mutual labels:  tensors
Danfojs
danfo.js is an open source, JavaScript library providing high performance, intuitive, and easy to use data structures for manipulating and processing structured data.
Stars: ✭ 1,304 (+752.29%)
Mutual labels:  tensors

Build Status Coverage Status PyPi Downloads

ttpy

Python implementation of the Tensor Train (TT) -Toolbox. It contains several important packages for working with the TT-format in Python. It is able to do TT-interpolation, solve linear systems, eigenproblems, solve dynamical problems. Several computational routines are done in Fortran (which can be used separatedly), and are wrapped with the f2py tool.

Installation

Prerequisites

It is recommended that you use Anaconda Python distribution which has MKL library built-in. Anaconda Python is used for the development of ttpy.

Pip install

Install dependencies (numpy and cython)

   conda install numpy cython

Install ttpy

   pip install ttpy

Installing from source code

To install the development version, you need to install from the source. First, clone the repository with all submodules:

   git clone --recursive git://github.com/oseledets/ttpy.git
   python setup.py install

To update to the latest version (with all submodules) run

git pull
git submodule update --init --recursive *

What those packages do

They have the following functionality

  • tt : The main package, with tt.vector and tt.matrix classes, basic arithmetic, norms, scalar products, rounding full -> tt and tt -> full conversion routines, and many others
  • tt.amen : AMEN solver for linear systems (Python wrapper for Fortran code written by S. V. Dolgov and D. V. Savostyanov) it can be also used for fast matrix-by-vector products.
  • tt.eigb : Block eigenvalue solver in the TT-format
  • tt.ksl : Solution of the linear dynamic problems in the TT-format, using the projector-splitting KSL scheme. A Python wrapper for a Fortran code (I. V. Oseledets)
  • tt.cross : Has a working implementation of the black-box cross method.

Documentation and examples

The package provides Sphinx-generated documentation. To build HTML version, just do

cd tt/doc
make html

A few examples are available right now under examples directory

For any questions, please create an issue on Github.

Contributor policy

This project is now following the git flow approach. Namely:

  • branch master is only for stable versions and releases;
  • branch develop is main working branch;
  • contributor should create new branch for certain feature and then merge with develop branch as feature was done;
  • each release on master branch should correspond to package on PyPI;
  • A maintainer checks all the pull request

A pull request should satisfy the following requirements:

  • style and quality description of pull request;
  • new changes should be tested and shouldn't break anything;
  • pull request for one fix or one feature(could be several commits);
  • try to keep the code style of the project;

Current maintainer is Ivan Oseledets.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].