I haven't really seen solvers in other packages that are general in the sense that the return type can change depending on what parts of an equation are missing. It may be better to break up a general function into multiple functions - one for each case. By doing so, we can avoid confusion on what a function is supposed to return and reduce semantic errors.
I haven't really seen solvers in other packages that are general in the sense that the return type can change depending on what parts of an equation are missing. It may be better to break up a general function into multiple functions - one for each case. By doing so, we can avoid confusion on what a function is supposed to return and reduce semantic errors.