fem_basis_test, a C code which calls fem_basis() to evaluate basis functions associated with an M-dimensional simplex (a 1D interval, a 2D triangle, a 3D tetrahedron, and the higher-dimensional generalizations).
The computer code and data files described and made available on this web page are distributed under the MIT license
fem_basis, a C code which can define basis functions for the finite element method (FEM) for any degree in an M-dimensional simplex (1D interval, 2D triangle, 3D tetrahedron, and higher dimensional generalizations.)