File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change 1
- using MatrixAlgebraKit: TruncationStrategy, diagview
1
+ using MatrixAlgebraKit: TruncationStrategy, diagview, svd_trunc!
2
2
3
3
"""
4
- BlockPermutedDiagonalTruncationStrategy(strategy::MatrixAlgebraKit. TruncationStrategy)
4
+ BlockPermutedDiagonalTruncationStrategy(strategy::TruncationStrategy)
5
5
6
- A wrapper for `MatrixAlgebraKit. TruncationStrategy` that implements the wrapped strategy on
7
- a block-by-block basis, which is possible if the input matrix is a block-diagonal matrix or
8
- a block permuted block-diagonal matrix.
6
+ A wrapper for `TruncationStrategy` that implements the wrapped strategy on a block-by-block
7
+ basis, which is possible if the input matrix is a block-diagonal matrix or a block permuted
8
+ block-diagonal matrix.
9
9
"""
10
- struct BlockPermutedDiagonalTruncationStrategy{T<: MatrixAlgebraKit.TruncationStrategy } < :
11
- MatrixAlgebraKit. TruncationStrategy
10
+ struct BlockPermutedDiagonalTruncationStrategy{T<: TruncationStrategy } <: TruncationStrategy
12
11
strategy:: T
13
12
end
14
13
You can’t perform that action at this time.
0 commit comments