Returns the result of division of x and y.
Returns the result of division of x and y. y is required to be > 0.
the value of x.
the value of y.
Returns the product of the list.
Returns Some result if the equation is valid.
Returns Some result if the equation is valid. Otherwise returns None.
the left hand side of the equation.
the right hand side of the equation.
the operation is performed to the inputs and outputs.
Returns the result of subtraction of x and y.
Returns the result of subtraction of x and y.
the value of x.
the value of y.
Returns the sum of the list.
A companion object of trait MonoOperation to represent a monooperation equation.
Specify the
variable
andconstant
when calling the solveM function like this: