cancel | R Documentation |
cancel() will take any rational function and put it into the standard canonical form
cancel(x)
x |
A |
if (has_sympy()){
def_sym(x, y, z)
expr = cancel((x**2 + 2*x + 1)/(x**2 + x))
cancel(expr)
expr = (x*y**2 - 2*x*y*z + x*z**2 + y**2 - 2*y*z + z**2)/(x**2 - 1)
cancel(expr)
factor_(expr)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.