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
* fix!: make `B` a function and not a linear operator or a matrix
* Fixes
* Add support for LinearMaps
* Allow IterativeSolvers, switch to testitems
* Add buffer
Copy file name to clipboardExpand all lines: docs/src/faq.md
+4-1Lines changed: 4 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -46,7 +46,10 @@ Say your forward mapping takes multiple inputs and returns multiple outputs, suc
46
46
The trick is to leverage [ComponentArrays.jl](https://github.com/jonniedie/ComponentArrays.jl) to wrap all the inputs inside a single a `ComponentVector`, and do the same for all the outputs.
47
47
See the examples for a demonstration.
48
48
49
-
!!! warning "Warning"
49
+
!!! warning
50
+
The default linear operator representation does not support ComponentArrays.jl: you need to select `representation=OperatorRepresentation{:LinearMaps}()` in the [`ImplicitFunction`](@ref) constructor for it to work.
51
+
52
+
!!! warning
50
53
You may run into issues trying to differentiate through the `ComponentVector` constructor.
51
54
For instance, Zygote.jl will throw `ERROR: Mutating arrays is not supported`.
52
55
Check out [this issue](https://github.com/gdalle/ImplicitDifferentiation.jl/issues/67) for a dirty workaround involving custom chain rules for the constructor.
0 commit comments