This is documentation for Mathematica 3, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)
 Documentation / Mathematica / Built-in Functions / Algebraic Computation / Equation Solving  /
ToRules

  • ToRules[ eqns ] takes logical combinations of equations, in the form generated by Roots and Reduce, and converts them to lists of rules, of the form produced by Solve.
  • Example: ToRules[x==1 || x==2] .
  • ToRules discards nonequalities (!=), and thus gives only "generic" solutions.
  • See the Mathematica book: Section 3.4.1.