triangle_ncc_rule_test, a MATLAB code which calls triangle_ncc_rule(), which defines the weights and abscisass for a sequence of 9 Newton-Cotes closed quadrature rules over the interior of a triangle in 2D.
The information on this web page is distributed under the MIT license.
triangle_ncc_rule, a MATLAB code which defines Newton-Cotes Closed (NCC) quadrature rules over the interior of a triangle in 2D.