I found the necessity for the following procedure and was surprised I couldn't find a built-in function to do the following. I include my solution in case someone needs the same functionality, but if there exists a built in feature that I'm not aware of please feel free to share.
Suppose using Reduce
, I have created a set of conditions for a system of equations:
(a == 1 && b == 2 && c == 0)
What is an easy way to convert these equalities into a set of replacement rules so that they may be inserted back into an equation?
a + b x + c x^2
I.e., what is a method for converting the set of conditions shown above into the following form?
{a -> 1, b -> 2, c -> 0}