quadrature_weights_vandermonde_test, a C code which calls quadrature_weights_vandermonde(), which illustrates 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 information on this web page is 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.