Skip to content

Commit d682149

Browse files
committed
docstring for compress!(TensorTrain, ...)
1 parent 878a242 commit d682149

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

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)