apart {caracas} | R Documentation |
Partial fraction decomposition on a rational function
Description
apart() performs a partial fraction decomposition on a rational function
Usage
apart(x)
Arguments
x |
A |
Examples
if (has_sympy()){
def_sym(x)
expr = (4*x**3 + 21*x**2 + 10*x + 12)/(x**4 + 5*x**3 + 5*x**2 + 4*x)
apart(expr)
}
[Package caracas version 2.1.1 Index]