quadrature_weights_vandermonde_test, an Octave code which calls quadrature_weights_vandermonde(), which computes 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, an Octave code which computes the weights of a 1D quadrature rule using the vandermonde matrix, assuming that the points have been specified.