Skip to content

Commit 699946e

Browse files
committed
update docs
1 parent ee833c9 commit 699946e

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

docs/src/user_interface/truncations.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,18 @@ CollapsedDocStrings = true
88
Currently, truncations are supported through the following different methods:
99

1010
```@docs; canonical=false
11+
notrunc
1112
truncrank
1213
trunctol
1314
truncabove
15+
truncerror
16+
```
17+
18+
It is additionally possible to combine truncation strategies by making use of the `&` operator.
19+
For example, truncating to a maximal dimension `10`, and discarding all values below `1e-6` would be achieved by:
20+
21+
```julia
22+
maxdim = 10
23+
tol = 1e-6
24+
combined_trunc = truncrank(maxdim) & trunctol(tol)
1425
```

0 commit comments

Comments
 (0)