Skip to content

Commit d2ef909

Browse files
authored
fix docs (#39)
1 parent 2a85190 commit d2ef909

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

docs/src/blocktensors.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ BlockTensorMap <: AbstractBlockTensorMap <: AbstractTensorMap
1212
SparseBlockTensorMap <: AbstractBlockTensorMap <: AbstractTensorMap
1313
```
1414

15-
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.
15+
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.
1616
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.
1717
For `SparseBlockTensorMap`, this is not the case, and the list of tensors is stored in a `Dict{CartesianIndex{N},AbstractTensorMap}`.
1818

@@ -41,8 +41,7 @@ Typically though, the most convenient way of obtaining a block tensor is by usin
4141

4242
```@repl blocktensors
4343
using TensorKit, BlockTensorKit
44-
using BlockTensorKit: ⊕
45-
V = ℂ^1 ⊕ ℂ^2;
44+
V = ℂ^1 ⊞ ℂ^2;
4645
W = V * V → V;
4746
t = rand(W)
4847
eltype(t)

docs/src/sumspaces.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## Direct Sum Spaces
1+
## [Direct Sum Spaces](@id sec_sumspaces)
22

33
The underlying concept that defines any array (or operator) that has some blocked structure is that of a direct sum of vector spaces.
44
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.

0 commit comments

Comments
 (0)