Closed
Description
Mutable primal types need mutable differentials.
This is one of the things needed to support mutability in forwards mode.
(For reverse mode this is not enough).
We should have a MutableComposite
type for them.
Whether it is backed by a Dict
; or backed by a NamedTuple
that gets swapped out everytime setproperty
is called, idk.