|
|
last edited 5 years ago by test1 |
1 | ||
Editor: test1
Time: 2019/05/10 17:50:54 GMT+0 |
||
Note: |
changed: - In FriCAS expression are represented as rational functions in kernels. exp(2*x) and exp(x) are different kernels, so \begin{axiom} exp(2*x) - exp(x)^2 \end{axiom} gives nonzero result. To recognize that this is really 0 we need to perform extra computation. In this case normalize is enough \begin{axiom} normalize(exp(2*x) - exp(x)^2) \end{axiom} In general, to express function in terms of algebraically independent kernels one can use rischNormalize. It takes two arguments, the first argument is list of expressions to analize, the second is list of variables (rischNormalize treats variables and constants in slightly different way). For example: \begin{axiom} rischNormalize([exp(2*x), exp(x)],[x]) \end{axiom} The result has three parts. First is list of rewritten expression. Second is list of kernels that were rewritten. The third is list of values assigned to kernels.
In FriCAS expression are represented as rational functions in kernels. exp(2*x) and exp(x) are different kernels, so
exp(2*x) - exp(x)^2
(1) |
gives nonzero result. To recognize that this is really 0 we need to perform extra computation. In this case normalize is enough
normalize(exp(2*x) - exp(x)^2)
(2) |
In general, to express function in terms of algebraically independent kernels one can use rischNormalize. It takes two arguments, the first argument is list of expressions to analize, the second is list of variables (rischNormalize treats variables and constants in slightly different way). For example:
rischNormalize([exp(2*x),exp(x)], [x])
(3) |
The result has three parts. First is list of rewritten expression. Second is list of kernels that were rewritten. The third is list of values assigned to kernels.