case classEquation[S, T](shouldBeZero: ELS[S, T], variables: List[EBLS[S, T]]) extends Product with Serializable
This solves a single linear equation
A linear equation is a sum of monomials, some of which do not depend on x (constant terms)
and others are proportional to x. Let us look at the first monomial. If it is proportional
to x, then we resolve for that x. If it does not depend on x, move it to the accumulator
and look at the next term.
Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
This method returns either None or Some map of either 0 or 1 keys
None is returned when there is no solution (incompatible system)
Empty Map (i.e. Map()) means the opposite: no constraints
This solves a single linear equation A linear equation is a sum of monomials, some of which do not depend on x (constant terms) and others are proportional to x. Let us look at the first monomial. If it is proportional to x, then we resolve for that x. If it does not depend on x, move it to the accumulator and look at the next term.