SIMPLIFY: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{Keyword | <code>SIMPLIFY( equation|expression, "simplification"[;"simplification"])</code> | 2= Possible values for <code>simplification</code> are: * <code>ex...") |
No edit summary |
||
Line 19: | Line 19: | ||
| | | | ||
3= | 3= | ||
| | |||
4= | |||
}} | }} | ||
[[Category:Manipulation]] | [[Category:Manipulation]] |
Latest revision as of 19:57, 27 June 2017
Syntax
SIMPLIFY( equation|expression, "simplification"[;"simplification"])
Implemented in iMath since version 2.2.0 or earlier.
Explanation
Possible values for simplification
are:
expand
Fully expands all expressions, including function arguments.expandf
Only expand function definition, not arguments.eval
Numerically evaluate the equation as far as possible.normal
Normalize the equation (see description of GiNaC normal() method for details).collect-common
Collect common factors (see description of GiNaC collect_common_factors() method for details).unsafe
Does unsafe simplifications, for examplesqrt{x^2} => x
or\arctan\tan{x} => x
. Note that the opposite\tan\arctan{x} => x
is not an unsafe evaluation and is thus done automatically (by GiNaC).ignore-units
Removes units from certain functions, so that scientific formulas evaluate properly. Currently only units in the arguments oflog
andln
are handled.diff
Evaluates differential function diff, thus symbolically calculating differentials as far as possible.cancel-diff
Dissolve all derivatives into fractions of single differentials, and cancel numerators and denominators wherever possible. A typical use would be integration by separation of the variables.sum
Evaluates sum functions, thus symbolically calculating sums as far as possible.gather-sqrt
Gathers single square roots under one root symbol.integrate
Symbolically integrates any integrals in the expression as far as possible.