Simplify | R Documentation |
Symbollic simplification of an expression or function
Simplify(expr, env = parent.frame(), scache = new.env())
Cache(st, env = Leaves(st), prefix = "")
deCache(st)
expr |
An expression to be simplified, expr can be
|
env |
An environment in which a simplified function is created
if |
scache |
An environment where there is a list in which simplified expression are cached |
st |
A language expression to be cached |
prefix |
A string to start the names of the cache variables |
An environment simplifications
containing simplification rules, is exported in the namespace accessible by the user.
Cache() is used to remove redundunt calculations by storing them in
cache variables. Default parameters to Cache() does not have to be provided
by user. deCache() makes the inverse job – a series of assignements
are replaced by only one big expression without assignement.
Sometimes it is usefull to
apply deChache() and only then pass its result to Cache().
A simplified expression. The result is of the same type as
expr
except for formula, where a language is returned.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.