view docs/src/matrix_and_tensor_representations.md @ 1839:e1077273eda5 refactor/lazy_tensors/elementwise_ops

Separate the logic of how TensorSum works from the semantics of + and -
author Jonatan Werpers <jonatan@werpers.com>
date Thu, 09 Jan 2025 22:12:26 +0100
parents 40dffe6e2ecb
children
line wrap: on
line source

# Matrix and tensor representations

Sparse matrix and sparse tensor representations of lazy tensors can be constructed by loading [Tokens.jl](http://) and one of SparseArrays.jl or [SparseArrayKit.jl](http://). Through package extensions the following methods `sparse(::LazyTensor)` and `SparseArray(::LazyTensor)` are provided.

<!-- TODO figure out how to add the docstrings here --/>