get_multiplicative_depth_by_coeff_vector: Multiplicative depth of a polynomial evaluation

View source: R/key-switching.R

get_multiplicative_depth_by_coeff_vectorR Documentation

Multiplicative depth of a polynomial evaluation

Description

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.

Usage

get_multiplicative_depth_by_coeff_vector(vec, is_normalized = FALSE)

Arguments

vec

The coefficient vector (numeric or complex).

is_normalized

Logical; TRUE if the coefficients are normalized, which saves one level. Default FALSE.

Value

An integer.

See Also

eval_poly(), eval_chebyshev()


openfhe.R documentation built on Nov. 13, 2026, 5:07 p.m.