Skip to main content

integrate_rational_function_expr

Function integrate_rational_function_expr 

Source
pub fn integrate_rational_function_expr(
    expr: &Expr,
    x: &str,
) -> Result<Expr, String>
Expand description

Integrates a rational function represented as a symbolic expression.

This function converts the expression into a polynomial ratio and then applies rational integration techniques.

§Arguments

  • expr - The rational expression to integrate.
  • x - The variable of integration.

§Returns

A Result containing the symbolic integral.

§Errors

This function will return an error if integrate_rational_function encounters an error during the integration process.