pwl_product_integral_test, a MATLAB code which calls pwl_product_integral(), which calculates the exact value of the integral of the product of two piecewise linear functions F(X) and G(X).
The computer code and data files described and made available on this web page are distributed under the MIT license
pwl_product_integral, a MATLAB code which calculates the exact value of the integral of the product of two piecewise linear functions F(X) and G(X).