Skip to content

Commit 4182c5a

Browse files
author
Marc Ritter
committed
Merge branch 'bump-to-v0.9.1' into 'main'
Bump to v0.9.1 See merge request tensors4fields/TensorCrossInterpolation.jl!75
2 parents 878a242 + 45ee9d2 commit 4182c5a

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "TensorCrossInterpolation"
22
uuid = "b261b2ec-6378-4871-b32e-9173bb050604"
33
authors = ["Ritter.Marc <[email protected]>, Hiroshi Shinaoka <[email protected]> and contributors"]
4-
version = "0.9.0"
4+
version = "0.9.1"
55

66
[deps]
77
EllipsisNotation = "da5c29d0-fa7d-589e-88eb-ea29b0a81949"

src/tensortrain.jl

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,16 @@ function _factorize(
8181
end
8282
end
8383

84+
"""
85+
function compress!(
86+
tt::TensorTrain{V, N},
87+
method::Symbol=:LU;
88+
tolerance::Float64=1e-12,
89+
maxbonddim=typemax(Int)
90+
) where {V, N}
91+
92+
Compress the tensor train `tt` using `LU`, `CI` or `SVD` decompositions.
93+
"""
8494
function compress!(
8595
tt::TensorTrain{V, N},
8696
method::Symbol=:LU;

0 commit comments

Comments
 (0)