diff --git a/docs/src/blocktensors.md b/docs/src/blocktensors.md index 5667e5c..bba2b9c 100644 --- a/docs/src/blocktensors.md +++ b/docs/src/blocktensors.md @@ -12,7 +12,7 @@ BlockTensorMap <: AbstractBlockTensorMap <: AbstractTensorMap SparseBlockTensorMap <: AbstractBlockTensorMap <: AbstractTensorMap ``` -In particular, these structures hold the structural information as a `HomSpace` of `SumSpace`s, as defined in [`SumSpaces`](@ref), as well as the individual tensors that make up the block tensor. +In particular, these structures hold the structural information as a `HomSpace` of `SumSpace`s, as defined in [`SumSpaces`](@ref sec_sumspaces), as well as the individual tensors that make up the block tensor. For `BlockTensorMap`, the list of tensors is dense, thus they are stored in an `Array{AbstractTensorMap,N}`, where `N` is the total number of indices of a tensor. For `SparseBlockTensorMap`, this is not the case, and the list of tensors is stored in a `Dict{CartesianIndex{N},AbstractTensorMap}`. @@ -41,8 +41,7 @@ Typically though, the most convenient way of obtaining a block tensor is by usin ```@repl blocktensors using TensorKit, BlockTensorKit -using BlockTensorKit: ⊕ -V = ℂ^1 ⊕ ℂ^2; +V = ℂ^1 ⊞ ℂ^2; W = V * V → V; t = rand(W) eltype(t) diff --git a/docs/src/sumspaces.md b/docs/src/sumspaces.md index b09683d..ff32060 100644 --- a/docs/src/sumspaces.md +++ b/docs/src/sumspaces.md @@ -1,4 +1,4 @@ -## Direct Sum Spaces +## [Direct Sum Spaces](@id sec_sumspaces) The underlying concept that defines any array (or operator) that has some blocked structure is that of a direct sum of vector spaces. These spaces are a natural extension of the `TensorKit` vector spaces, and you can think of them as a way to lazily concatenate multiple vector spaces into one.