**triangle_nco_rule_test**,
a MATLAB program which
calls triangle_nco_rule() to define the weights and abscisass for a sequence of
9 Newton-Cotes open quadrature rules
over the interior of a triangle in 2D.

The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.

triangle_nco_rule, a MATLAB library which defines Newton-Cotes Open (NCO) quadrature rules over the interior of a triangle in 2D.

- triangle_nco_rule_test.m, calls all the tests.
- triangle_nco_rule_test.sh, runs all the tests.
- triangle_nco_rule_test.txt, the output file.

- triangle_nco_rule_test01.m, tests TRIANGLE_NCO_RULE_NUM, TRIANGLE_NCO_DEGREE, and TRIANGLE_NCO_ORDER_NUM.
- triangle_nco_rule_test02.m, tests TRIANGLE_NCO_RULE by summing the weights.
- triangle_nco_rule_test03.m, tests TRIANGLE_NCO_RULE by summing the barycentric coordinates.
- triangle_nco_rule_test04.m, tests TRIANGLE_NCO_ORDER by integrating monomials in the unit triangle.
- triangle_nco_rule_test05.m, tests REFERENCE_TO_PHYSICAL_T3 by transforming an NCC rule from the unit triangle to another triangle.