quadrature_weights_vandermonde_test, a C code which calls quadrature_weights_vandermonde() to illustrate a method for computing the weights of a quadrature rule, assuming that the points have been specified, by setting up a linear system involving the Vandermonde matrix.
The computer code and data files described and made available on this web page are distributed under the MIT license
quadrature_weights_vandermonde, a C code which computes the weights of a 1D quadrature rule using the vandermonde matrix, assuming that the points have been specified.