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:
expandFully expands all expressions, including function arguments.expandfOnly expand function definition, not arguments.evalNumerically evaluate the equation as far as possible.normalNormalize the equation (see description of GiNaC normal() method for details).collect-commonCollect common factors (see description of GiNaC collect_common_factors() method for details).unsafeDoes unsafe simplifications, for examplesqrt{x^2} => xor\arctan\tan{x} => x. Note that the opposite\tan\arctan{x} => xis not an unsafe evaluation and is thus done automatically (by GiNaC).ignore-unitsRemoves units from certain functions, so that scientific formulas evaluate properly. Currently only units in the arguments oflogandlnare handled.diffEvaluates differential function diff, thus symbolically calculating differentials as far as possible.cancel-diffDissolve 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.sumEvaluates sum functions, thus symbolically calculating sums as far as possible.gather-sqrtGathers single square roots under one root symbol.integrateSymbolically integrates any integrals in the expression as far as possible.