Skip to main content

integrate_cas

Function integrate_cas 

Source
pub fn integrate_cas(
    cx: &mut Cx,
    expr: &CasExpr,
    var: &Symbol,
) -> Result<CasExpr>
Expand description

Integrate a CasExpr with respect to var, returning a simplified antiderivative tree (without constant of integration).

Covers the builtin arithmetic operators and power-of-variable cases; inputs outside the supported set produce an error.