evaluate_multivariate_orthonormal_polynomial¶
-
pyapprox.multivariate_polynomials.
evaluate_multivariate_orthonormal_polynomial
(samples, indices, recursion_coeffs, deriv_order=0, basis_type_index_map=None)[source]¶ Evaluate a multivaiate orthonormal polynomial and its s-derivatives (s=1,…,num_derivs) using a three-term recurrence coefficients.
- Parameters
- samplesnp.ndarray (num_vars, num_samples)
Samples at which to evaluate the polynomial
- indicesnp.ndarray (num_vars, num_indices)
The exponents of each polynomial term
- recursion_coeffsnp.ndarray (num_indices,2)
The coefficients of each monomial term
- deriv_orderinteger in [0,1]
The maximum order of the derivatives to evaluate.