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.
2 parents e2c4824 + 9cf11c6 commit 3cc0434Copy full SHA for 3cc0434
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