# Comparison of tensor packages?

**URL:** <https://discourse.julialang.org/t/comparison-of-tensor-packages/11425>\
**Category:** General Usage\
**Tags:** package, tensors\
**Created:** [June 4, 2018, 11:15pm UTC](https://discourse.julialang.org/t/comparison-of-tensor-packages/11425 "2018-06-04T23:15:21Z")\
**Posts on this page:** 10\
**Page:** 2

<div class="post-metadata">

**Author:** ![chakravala](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/chakravala/32/6832_2.png) [@chakravala](https://discourse.julialang.org/u/chakravala)\
**Post date:** [May 20, 2020, 6:08am UTC](https://discourse.julialang.org/t/comparison-of-tensor-packages/11425/21 "2020-05-20T06:08:52Z")

</div>

> [@miles](#):
>
> So then it’s not really wrong or misleading to use tensor as a shorthand for multi-dimensional array, since these are equivalent in such a setting and context.

The representation of a tensor could be a multi dimensional array, but there are other representations. This thread is a bit outdated now, I’ve since created my own tensor algebra package [Grassmann.jl](https://github.com/chakravala/Grassmann.jl) where the representation is based on multivectors and [DirectSum.jl](https://github.com/chakravala/DirectSum.jl). If you are only familiar with arrays and not multivectors having graded multi-linear space, it might seem strange. Yet, they actually offer a more insightful representation than multi-dimensional arrays, which are actually quite cumbersome and can have a lot of unnecessary redundancy compared to graded multivectors.

---

<div class="post-metadata">

**Author:** ![miles](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/miles/32/29112_2.png) [@miles](https://discourse.julialang.org/u/miles)\
**Post date:** [May 20, 2020, 3:15pm UTC](https://discourse.julialang.org/t/comparison-of-tensor-packages/11425/22 "2020-05-20T15:15:51Z")

</div>

Looks like a really nice library, thanks for mentioning!

---

<div class="post-metadata">

**Author:** ![postylem](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/postylem/32/15639_2.png) [@postylem](https://discourse.julialang.org/u/postylem)\
**Post date:** [June 12, 2020, 9:13pm UTC](https://discourse.julialang.org/t/comparison-of-tensor-packages/11425/23 "2020-06-12T21:13:15Z")

</div>

update:

- [`ITensors`](https://github.com/ITensor/ITensors.jl) (Julia port of the C++ library `ITensor`) is available now. It uses a new type `ITensor`, and provides a high-level interface for tensor operations without having to specify index orders or reshape tensors.

---

<div class="post-metadata">

**Author:** ![fyzycyst](https://avatars.discourse-cdn.com/v4/letter/f/5daacb/32.png) [@fyzycyst](https://discourse.julialang.org/u/fyzycyst)\
**Post date:** [June 16, 2020, 9:50pm UTC](https://discourse.julialang.org/t/comparison-of-tensor-packages/11425/24 "2020-06-16T21:50:52Z")

</div>

Lots of great discussion… so, if I were interested in exploring General Relativity within Julia, which package would I be looking for??

---

<div class="post-metadata">

**Author:** ![mike\_ewa](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mike_ewa/32/22321_2.png) [@mike\_ewa](https://discourse.julialang.org/u/mike_ewa)\
**Post date:** [February 28, 2021, 12:48pm UTC](https://discourse.julialang.org/t/comparison-of-tensor-packages/11425/25 "2021-02-28T12:48:01Z")

</div>

I found [Tensorial.jl](https://github.com/KeitaNakamura/Tensorial.jl) which has almost the same functionality and performance as the [Tensors.jl](https://github.com/Ferrite-FEM/Tensors.jl) but supports arbitrary size of tensors.

---

<div class="post-metadata">

**Author:** ![fastwave](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/fastwave/32/14725_2.png) [@fastwave](https://discourse.julialang.org/u/fastwave)\
**Post date:** [May 1, 2021, 11:56am UTC](https://discourse.julialang.org/t/comparison-of-tensor-packages/11425/26 "2021-05-01T11:56:26Z")

</div>

I think this is where I should have asked my question. Is there any package that can solve multilinear equations where tensors are represented in a compressed format? I am thinking of ALS or some other optimisation type method or SVD type, whatever works.

---

<div class="post-metadata">

**Author:** ![miguelraz](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/miguelraz/32/631_2.png) [@miguelraz](https://discourse.julialang.org/u/miguelraz)\
**Post date:** [May 6, 2021, 8:29pm UTC](https://discourse.julialang.org/t/comparison-of-tensor-packages/11425/27 "2021-05-06T20:29:56Z")

</div>

Have you tried [Zarr.jl](https://github.com/meggart/Zarr.jl)? You could also try using the `zfp_jll` wrapper if you want to roll your own.

---

<div class="post-metadata">

**Author:** ![younes](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/younes/32/208506_2.png) [@younes](https://discourse.julialang.org/u/younes)\
**Post date:** [May 28, 2024, 7:35pm UTC](https://discourse.julialang.org/t/comparison-of-tensor-packages/11425/28 "2024-05-28T19:35:42Z")

</div>

is this answer valid to this day?

thank you

---

<div class="post-metadata">

**Author:** ![willow](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/willow/32/208918_2.png) [@willow](https://discourse.julialang.org/u/willow)\
**Post date:** [June 7, 2024, 3:34pm UTC](https://discourse.julialang.org/t/comparison-of-tensor-packages/11425/29 "2024-06-07T15:34:20Z")

</div>

Over the past three years, the [Finch.jl](https://github.com/willow-ahrens/Finch.jl) project has come a long way, so that’s a new tensor package in the mix.

---

<div class="post-metadata">

**Author:** ![willow](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/willow/32/208918_2.png) [@willow](https://discourse.julialang.org/u/willow)\
**Post date:** [November 27, 2024, 4:07pm UTC](https://discourse.julialang.org/t/comparison-of-tensor-packages/11425/30 "2024-11-27T16:07:12Z")

</div>

Here’s the package announcement for Finch: [Finch.jl: Sparse and Structured Array Compiler](https://discourse.julialang.org/t/finch-jl-sparse-and-structured-array-compiler/123178)

[Previous page](https://discourse.julialang.org/t/comparison-of-tensor-packages/11425.md?page=1)
