Skip to content

Commit e0fddbf

Browse files
committed
docstring improvements
1 parent 2366bb2 commit e0fddbf

2 files changed

Lines changed: 7 additions & 9 deletions

File tree

‎src/tensors/blockiterators.jl‎

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -178,14 +178,12 @@ const SubblockOp = Union{typeof(identity), typeof(conj)}
178178
struct StridedSubblocks{A <: DenseVector, N, F}
179179
StridedSubblocks(t::TensorMap, [op = identity])
180180
181-
Sector-independent, integer-indexable collection of the subblocks of a `TensorMap`, as
182-
`StridedView`s into its flat data vector. Subblock `i` corresponds to the `i`th fusion tree pair
183-
in the canonical order of `fusiontrees(space(t))`, see also [`fusiontreeindices`](@ref).
184-
The operation `op` (`identity` or `conj`) is applied lazily to every view, which allows
185-
representing the subblocks of a conjugated tensor without materializing it.
186-
187-
This is the data structure consumed by the index manipulation kernels, whose type does not
188-
depend on the sectortype of `t`.
181+
Sector-independent, integer-indexable collection of the subblocks of a `TensorMap`, as `StridedView`s into its flat data vector.
182+
Subblock `i` corresponds to the `i`th fusion tree pair in the canonical order of `fusiontrees(space(t))`, see also [`fusiontreeindices`](@ref).
183+
The operation `op` (`identity` or `conj`) is applied lazily to every view, which allows representing the subblocks of a conjugated tensor without materializing it.
184+
185+
This is the data structure consumed by the index manipulation kernels, whose type does not depend on the sectortype of `t`.
186+
It only contains type parameters `N` (number of indices) and `F` (element-wise operation).
189187
"""
190188
struct StridedSubblocks{A <: DenseVector, N, F <: SubblockOp}
191189
data::A

‎src/tensors/treetransformers.jl‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
Supertype for structures containing the data for a tree transformation.
55
66
The transformers only store how subblocks map onto each other in terms of their positions in
7-
[`StridedSubblocks`](@ref) (the canonical order of `fusiontrees`), together with the recoupling
7+
[`StridedSubblocks`](@ref) (the canonical order of [`fusiontrees`](@ref)), together with the recoupling
88
coefficients, and are therefore independent of the sectortype once constructed. The
99
transformation is that of `permutedims(op(tsrc), p)` where `p` indexes the legs of `tsrc` itself and
1010
`op` is either `identity` or `conj`; in the latter case the fusion trees that are transformed are

0 commit comments

Comments
 (0)