jonathf / chaospy

Chaospy - Toolbox for performing uncertainty quantification.
https://chaospy.readthedocs.io/
MIT License
439 stars 87 forks source link

Hi,jonathf! It seems like this link has been invalid. :( Could you help me? Thank you #386

Closed lihy213 closed 2 years ago

lihy213 commented 2 years ago

If I understand correctly, the answer is yes. It is one of the main usecases of Chaospy.

See here: http://chaospy.readthedocs.io/en/master/tutorial.html#pseudo-spectral-projection-method

To create Gaussian quadrature points, use rule="golub_welsch" instead of "C". Or if you know that you are sticking to Uniform inputs, use the dedicated and somewhat faster Gauss-Legendre method directly with rule="gauss_legendre". It will automatically create tensor-products for multivariate distributions.

Originally posted by @jonathf in https://github.com/jonathf/chaospy/issues/95#issuecomment-398317557