The depth the Paterson-Stockmeyer evaluation of a polynomial or Chebyshev series with the given coefficient vector consumes. It depends only on the number of coefficients.
get_multiplicative_depth_by_coeff_vector(vec, is_normalized = FALSE)An integer.
The coefficient vector (numeric or complex).
Logical; TRUE if the coefficients are
normalized, which saves one level. Default FALSE.
eval_poly(), eval_chebyshev()