Skip to main content

big_o_normal_form

Function big_o_normal_form 

Source
pub fn big_o_normal_form(expr: &Expr) -> Result<Expr, AsymptoticAnalysisError>
Expand description

Compute the Big-O normal form of an expression.

Returns an expression representing the asymptotic growth class, or AsymptoticAnalysisError::Unsupported when the growth domain cannot represent the input.