[ library(linearize) | The ECLiPSe Libraries | Reference Manual | Alphabetic Index ]

# delinearize(?Linear, -Expression)

Convert a linear form back to a standard arithmetic expression

Linear
  Normalized lists of monomials
Expression
  Arithmetic expression with constants and variables

## Examples

        ?- linearize(3*X-7*Y+2*(X+Y), L, R), delinearize(L, E).
        X = X
        Y = Y
        R = []
        L = [0 * 1, 5 * X, -5 * Y]
        E = 5 * X - 5 * Y
        yes.

## See Also

linrenorm / 2, linearize / 3