We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e2c4824 commit 9cf11c6Copy full SHA for 9cf11c6
src/QuasiArrays/matmul.jl
@@ -94,6 +94,11 @@ IndexStyle(::MulQuasiArray{<:Any,1}) = IndexLinear()
94
adjoint(A::MulQuasiArray) = MulQuasiArray(reverse(adjoint.(A.mul.factors))...)
95
transpose(A::MulQuasiArray) = MulQuasiArray(reverse(transpose.(A.mul.factors))...)
96
97
+function similar(A::MulQuasiArray)
98
+ B,a = A.mul.factors
99
+ B*similar(a)
100
+end
101
+
102
103
MemoryLayout(M::MulQuasiArray) = MulLayout(MemoryLayout.(M.mul.factors))
104
0 commit comments