n-dimensional simplex quadrature
This script computes the weights and nodes for a Gauss quadrature rule on an n-dimensional simplex. The user can either specify the vertices of the simplex or only the dimension and the vertices of the unit simplex will then be used.
The first four simplexes are
n | Domain
--|------------
1 | Interval
2 | Triangle
3 | Tetrahedron
4 | Pentatope
Thanks to John D'Errico for helping with this script.
Cite As
Greg von Winckel (2024). n-dimensional simplex quadrature (https://www.mathworks.com/matlabcentral/fileexchange/9435-n-dimensional-simplex-quadrature), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Acknowledgements
Inspired: Triangular Taylor Hood finite elements, Homogen Integrate on Triangular Area and Tetrahedral Volume
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |