Open
Description
Hello,
https://discourse.julialang.org/t/scimloperators-function-for-transposedoperator/129422
The dispatch of multiplication (*) for TransposedOperator is missing:
function Afunc!(w,v,u,p,t)
w[1] = -2v[1] + v[2]
for i in 2:4
w[i] = v[i-1] - 2v[i] + v[i+1]
end
w[5] = v[4] - 2v[5]
nothing
end
function Afunc!(v,u,p,t)
w = zeros(5)
Afunc!(w,v,u,p,t)
w
end
mfopA = FunctionOperator(Afunc!, zeros(5), zeros(5))
mfopA_t = transpose(mfopA)
mfopA * rand(5)
mfopA_t * rand(5)`
SciMLOperators v1.3.0
Julia 1.11.5
Thanks