PolynomialChaosExpansion¶
-
class
pyapprox.multivariate_polynomials.PolynomialChaosExpansion[source]¶ Bases:
objectMethods Summary
__call__(samples)Call self as a function.
basis_matrix(samples[, opts])canonical_basis_matrix(canonical_samples[, opts])configure(opts)Compute the covariance between each quantity of interest of the polynomial chaos expansion
jacobian(sample)mean()Compute the mean of the polynomial chaos expansion
num_vars()set_coefficients(coefficients)set_indices(indices)value(samples)variance()Compute the variance of the polynomial chaos expansion
Methods Documentation
-
covariance()[source]¶ Compute the covariance between each quantity of interest of the polynomial chaos expansion
- Returns
- covarnp.ndarray (nqoi)
The covariance between each quantitity of interest
-