# sparse-tensor: typesafe tensor algebra library

This package is intended to be used as a general purpose tensor algebra library. It defines the usual tensor algebra functions such as addition, scalar multiplication, tensor product, and contractions, but also general symmetrizations and further utility functions.

The implemented tensor data type is capable of being used with an arbitrary number of general abstract indices and can incorporate values of any type that allow for a meaningful addition, scaling, and multiplication. The package is thus very flexible and can easily be customised at wish.

[Skip to Readme]

## Modules

[Index] [Quick Jump]

## Downloads

- sparse-tensor-0.2.1.5.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)

#### Maintainer's Corner

For package maintainers and hackage trustees

Candidates

Versions [RSS] | 0.1.0.0, 0.2, 0.2.1, 0.2.1.1, 0.2.1.2, 0.2.1.3, 0.2.1.4, 0.2.1.5 |
---|---|

Change log | CHANGELOG.md |

Dependencies | ad (>=4.2 && <4.5), base (>=4.9 && <5), bytestring (>=0.10 && <0.12), cereal (>=0.4 && <0.6), containers (>=0.5 && <0.7), deepseq (>=1.1 && <1.5), ghc-typelits-knownnat (>=0.2 && <0.8), ghc-typelits-natnormalise (>=0.5 && <0.8), hmatrix (>=0.16.1 && <0.21), parallel (>=3.2 && <3.3), tf-random (>=0.5 && <0.6), zlib (>=0.6 && <0.7) [details] |

License | MIT |

Copyright | 2019 Tobias Reinhart and Nils Alex |

Author | Tobias Reinhart and Nils Alex |

Maintainer | tobi.reinhart@fau.de, nils.alex@fau.de |

Category | Data, Math, Algebra |

Home page | https://github.com/TobiReinhart/sparse-tensor#readme |

Source repo | head: git clone git://github.com/TobiReinhart/sparse-tensor.git |

Uploaded | by nalex at 2021-02-27T17:12:35Z |

Distributions | |

Downloads | 2756 total (18 in the last 30 days) |

Rating | (no votes yet) [estimated by Bayesian average] |

Your Rating | |

Status | Docs available [build log] Last success reported on 2021-02-27 [all 1 reports] |