You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the implicit function is defined for real arguments only
function (implicit::ImplicitFunction)(
x_and_dx::AbstractArray{Dual{T,R,N}}; kwargs...
) where {T,R,N}
It would be useful to have it work for complex-valued arguments as well. Naively defining the same function with modified type signature did not seem to work.
The text was updated successfully, but these errors were encountered:
The problem is that the duals are placed inside the Complex type, i.e., Complex{Dual}, and handling might require overloading ForwardDiff.value so that x = value.(x_and_dx)
works as expected, and the same for partials etc. I tried very briefly but didn't get it to work, so it probably requires some digging to figure out.
Currently, the implicit function is defined for real arguments only
It would be useful to have it work for complex-valued arguments as well. Naively defining the same function with modified type signature did not seem to work.
The text was updated successfully, but these errors were encountered: