bayesvalidrox.surrogate_models.eval_rec_rule.eval_rec_rule

bayesvalidrox.surrogate_models.eval_rec_rule.eval_rec_rule(x, max_deg, poly_type)

Evaluates the polynomial that corresponds to the Jacobi matrix defined from the AB.

Parameters

xarray (n_samples)

Points where the polynomials are evaluated.

max_degint

Maximum degree.

poly_typestring

Polynomial type.

Returns

valuesarray of shape (n_samples, max_deg+1)

Polynomials corresponding to the Jacobi matrix.