-
Notifications
You must be signed in to change notification settings - Fork 58
Open
Description
Sometimes I solve nonlinear systems of the form
f(g(x)) ≈ 0 # could be a scalar or a vector
where g(x)
is a large, costly, and ultimately interesting object, so one would call it on the root, but that is a bit wasteful. It would be nice to have an interface that returns it. I am thinking of something like
(root = x, value = g(x)) = find_zero(f, arg_or_bracket, method; by = identity)
where by
would be g
, and a NamedTuple
is returned. But this of course would be breaking, so a new name would perhaps be better.
Metadata
Metadata
Assignees
Labels
No labels