Skip to content

[ENHANCEMENT] TensorAlgebra functionalities #1

@ogauthe

Description

@ogauthe

This issue lists functionalities and feature requests for TensorAlgebra.

Issues

  • perf: when β is given to contract, the input array C is permuted twice: first to fit A * B, then back to its initial format. This is suboptimal, especially for non-abelian tensors where permutedims is the bottleneck and contractions are fast.
  • contracting zero axis crashes. I think it should return the outer product of two tensors. (Crossing this off since it is now being tracked in [BUG] Outer product tensor contractions are broken #13.)

Feature requests

  • contract should allow a biperm as input
  • ideally, the compiler should be able to predict contract output type

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions