@@ -4,48 +4,48 @@ using LinearAlgebra: LinearAlgebra, mul!
44using SerializedArrays: AbstractSerializedMatrix, memory
55
66function mul_serialized! (
7- a_dest:: AbstractMatrix , a1:: AbstractMatrix , a2:: AbstractMatrix , α:: Number , β:: Number
8- )
9- mul! (a_dest, memory (a1), memory (a2), α, β)
10- return a_dest
7+ a_dest:: AbstractMatrix , a1:: AbstractMatrix , a2:: AbstractMatrix , α:: Number , β:: Number
8+ )
9+ mul! (a_dest, memory (a1), memory (a2), α, β)
10+ return a_dest
1111end
1212
1313function LinearAlgebra. mul! (
14- a_dest:: AbstractMatrix ,
15- a1:: AbstractSerializedMatrix ,
16- a2:: AbstractSerializedMatrix ,
17- α:: Number ,
18- β:: Number ,
19- )
20- return mul_serialized! (a_dest, a1, a2, α, β)
14+ a_dest:: AbstractMatrix ,
15+ a1:: AbstractSerializedMatrix ,
16+ a2:: AbstractSerializedMatrix ,
17+ α:: Number ,
18+ β:: Number ,
19+ )
20+ return mul_serialized! (a_dest, a1, a2, α, β)
2121end
2222
2323function LinearAlgebra. mul! (
24- a_dest:: AbstractMatrix ,
25- a1:: AbstractMatrix ,
26- a2:: AbstractSerializedMatrix ,
27- α:: Number ,
28- β:: Number ,
29- )
30- return mul_serialized! (a_dest, a1, a2, α, β)
24+ a_dest:: AbstractMatrix ,
25+ a1:: AbstractMatrix ,
26+ a2:: AbstractSerializedMatrix ,
27+ α:: Number ,
28+ β:: Number ,
29+ )
30+ return mul_serialized! (a_dest, a1, a2, α, β)
3131end
3232
3333function LinearAlgebra. mul! (
34- a_dest:: AbstractMatrix ,
35- a1:: AbstractSerializedMatrix ,
36- a2:: AbstractMatrix ,
37- α:: Number ,
38- β:: Number ,
39- )
40- return mul_serialized! (a_dest, a1, a2, α, β)
34+ a_dest:: AbstractMatrix ,
35+ a1:: AbstractSerializedMatrix ,
36+ a2:: AbstractMatrix ,
37+ α:: Number ,
38+ β:: Number ,
39+ )
40+ return mul_serialized! (a_dest, a1, a2, α, β)
4141end
4242
4343for f in [:eigen , :qr , :svd ]
44- @eval begin
45- function LinearAlgebra. $f (a:: AbstractSerializedMatrix ; kwargs... )
46- return LinearAlgebra.$ f (copy (a))
44+ @eval begin
45+ function LinearAlgebra. $f (a:: AbstractSerializedMatrix ; kwargs... )
46+ return LinearAlgebra.$ f (copy (a))
47+ end
4748 end
48- end
4949end
5050
5151end
0 commit comments