Learn R Programming

openfhe.R (version 1.6.1)

get_multiplicative_depth_by_coeff_vector: 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)

Value

An integer.

Arguments

vec

The coefficient vector (numeric or complex).

is_normalized

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

See Also

eval_poly(), eval_chebyshev()