@@ -28,9 +28,7 @@ function _similar_S(A::AbstractBlockSparseMatrix, s_axis)
28
28
end
29
29
30
30
function MatrixAlgebraKit. initialize_output (
31
- :: typeof (svd_compact!),
32
- A:: AbstractBlockSparseMatrix ,
33
- alg:: BlockPermutedDiagonalAlgorithm ,
31
+ :: typeof (svd_compact!), A:: AbstractBlockSparseMatrix , alg:: BlockPermutedDiagonalAlgorithm
34
32
)
35
33
bm, bn = blocksize (A)
36
34
bmn = min (bm, bn)
@@ -81,9 +79,7 @@ function MatrixAlgebraKit.initialize_output(
81
79
end
82
80
83
81
function MatrixAlgebraKit. initialize_output (
84
- :: typeof (svd_full!),
85
- A:: AbstractBlockSparseMatrix ,
86
- alg:: BlockPermutedDiagonalAlgorithm ,
82
+ :: typeof (svd_full!), A:: AbstractBlockSparseMatrix , alg:: BlockPermutedDiagonalAlgorithm
87
83
)
88
84
bm, bn = blocksize (A)
89
85
@@ -172,9 +168,7 @@ function MatrixAlgebraKit.check_input(
172
168
end
173
169
174
170
function MatrixAlgebraKit. svd_compact! (
175
- A:: AbstractBlockSparseMatrix ,
176
- USVᴴ,
177
- alg:: BlockPermutedDiagonalAlgorithm ,
171
+ A:: AbstractBlockSparseMatrix , USVᴴ, alg:: BlockPermutedDiagonalAlgorithm
178
172
)
179
173
MatrixAlgebraKit. check_input (svd_compact!, A, USVᴴ)
180
174
U, S, Vt = USVᴴ
@@ -205,9 +199,7 @@ function MatrixAlgebraKit.svd_compact!(
205
199
end
206
200
207
201
function MatrixAlgebraKit. svd_full! (
208
- A:: AbstractBlockSparseMatrix ,
209
- USVᴴ,
210
- alg:: BlockPermutedDiagonalAlgorithm ,
202
+ A:: AbstractBlockSparseMatrix , USVᴴ, alg:: BlockPermutedDiagonalAlgorithm
211
203
)
212
204
MatrixAlgebraKit. check_input (svd_full!, A, USVᴴ)
213
205
U, S, Vt = USVᴴ
0 commit comments