Learn R Programming

Deriv (version 2.0)

Simplify: Symbollic simplification of an expression or function

Description

Symbollic simplification of an expression or function

Usage

Simplify(expr, env = parent.frame())

Arguments

expr
An expression to be simplified, expr can be
  • an expression:as.expression(x+x)
  • an string:"x+x"
  • a function:function(x) x+x
  • a right hand side of a formula:~x+x
  • a langu
env
An environment in wich a simplified function is created if expr is a function. This argument is ignored is all other cases.

Value

  • A simplified expression. The result is of the same type as expr except for formula, where a language is returned.

concept

symbolic simplification

Details

An environment simplifications containing simplification rules, is exported in the user namespace.