Skip to content

Commit 68e4e33

Browse files
lkdvosborisdevos
andauthored
Apply suggestions from code review [skip ci]
Co-authored-by: Boris De Vos <143942306+borisdevos@users.noreply.github.com>
1 parent ba17dc3 commit 68e4e33

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/src/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ By employing concepts from category theory, we can represent and manipulate tens
1919
At the same time, TensorKit.jl focusses on computational efficiency and performance.
2020
The underlying storage of a tensor's data can be any `DenseArray`.
2121
When the data is stored in main memory (corresponding to `Array`), multiple CPUs can be leveraged as many operations come with multithreaded implementations, either by distributing the different blocks in case of a structured tensor (i.e. with symmetries) or by using multithreading provided by the package [Strided.jl](https://github.com/Jutho/Strided.jl).
22-
Support for storing and manipulating tensors on NVidia and AMD GPUs is currently being developed, whereas support for distributed arrays is planned for the future.
22+
Support for storing and manipulating tensors on Nvidia and AMD GPUs is currently being developed, whereas support for distributed arrays is planned for the future.
2323

2424
## Contents of the manual
2525

docs/src/man/tensors.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ This convention is opposite to the mathematical notation, e.g. ``\mathrm{Hom}(W,
1717
This also explains why we have consistently used the symbol ``W`` for spaces in the domain and ``V`` for spaces in the codomain.
1818
A tensor map ``t : (W_1 ⊗ … ⊗ W_{N_2}) → (V_1 ⊗ … ⊗ V_{N_1})`` will be created in Julia as `TensorMap(..., V1 ⊗ ... ⊗ VN₁, W1 ⊗ ... ⊗ WN₂)`.
1919

20-
Furthermore, the abstract type `AbstractTensor{S, N}` is just a synonym for `AbstractTensorMap{S, N, 0}`, i.e. for tensor maps with an empty domain, which is equivalent to the unit of the monoidal category, or thus, the field of scalars ``𝕜``.
20+
Furthermore, the abstract type `AbstractTensor{T, S, N}` is just a synonym for `AbstractTensorMap{T, S, N, 0}`, i.e. for tensor maps with an empty domain, which is equivalent to the unit of the monoidal category, or thus, the field of scalars ``𝕜``.
2121

2222
Currently, `AbstractTensorMap` has three subtypes.
2323
`TensorMap` provides the actual implementation, where the data of the tensor is stored in a `DenseArray` (more specifically a `DenseMatrix` as will be explained below).

0 commit comments

Comments
 (0)