stroud_test
stroud_test,
a MATLAB program which
calls stroud() to define quadrature rules for a variety of M-dimensional regions,
including the interior of the square, cube and hypercube, the pyramid,
cone and ellipse, the hexagon, the M-dimensional octahedron,
the circle, sphere and hypersphere, the triangle, tetrahedron and simplex,
and the surface of the circle, sphere and hypersphere.
Licensing:
The computer code and data files described and made available on this web page
are distributed under
the GNU LGPL license.
Related Data and Programs:
stroud,
a MATLAB library which
defines quadrature rules for a variety of M-dimensional regions,
including the interior of the square, cube and hypercube, the pyramid,
cone and ellipse, the hexagon, the M-dimensional octahedron,
the circle, sphere and hypersphere, the triangle, tetrahedron and simplex,
and the surface of the circle, sphere and hypersphere.
Source Code:
-
stroud_test01.m,
tests BALL_F1_ND and BALL_F3_ND.
-
stroud_test02.m,
tests SPHERE_UNIT_MONOMIAL_ND.
-
stroud_test03.m,
tests BALL_UNIT_07_3D, BALL_UNIT_14_3D and BALL_UNIT_15_3D.
-
stroud_test04.m,
tests BALL_UNIT_F1_ND, BALL_UNIT_F3_ND.
-
stroud_test045.m,
tests BALL_UNIT_VOLUME_3D, BALL_UNIT_VOLUME_ND.
-
stroud_test05.m,
tests BALL_UNIT_VOLUME_ND.
-
stroud_test052.m,
tests BALL_VOLUME_3D, BALL_VOLUME_ND.
-
stroud_test054.m,
tests BALL_VOLUME_ND.
-
stroud_test07.m,
tests CIRCLE_ANNULUS.
-
stroud_test08.m,
tests CIRCLE_ANNULUS, CIRCLE_RT_SET, and CIRCLE_RT_SUM.
-
stroud_test085.m,
tests CIRCLE_ANNULUS_AREA_2D.
-
stroud_test09.m,
tests CIRCLE_ANNULUS_SECTOR, CIRCLE_RT_SET, and CIRCLE_RT_SUM.
-
stroud_test10.m,
tests CIRCLE_CUM.
-
stroud_test11.m,
tests LENS_HALF_AREA_2D, CIRCLE_SECTOR_AREA_2D and CIRCLE_TRIANGLE_AREA_2D.
-
stroud_test12.m,
tests LENS_HALF_AREA_2D, LENS_H_HALF_AREA_2D, LENS_W_HALF_AREA_2D.
-
stroud_test13.m,
tests CIRCLE_SECTOR and CIRCLE_SECTOR_AREA_2D.
-
stroud_test14.m,
tests CIRCLE_SECTOR, CIRCLE_RT_SET and CIRCLE_RT_SUM.
-
stroud_test15.m,
tests CIRCLE_RT_SET and CIRCLE_RT_SUM.
-
stroud_test16.m,
tests CIRCLE_XY_SET and CIRCLE_XY_SUM.
-
stroud_test163.m,
tests the CN_GEG rules for the unit hypercube
with the Gegenbauer weight.
-
cn_geg_test.m,
tests the CN_GEG rules for the unit hypercube
with the Gegenbauer weight and a particular monomial.
-
stroud_test165.m,
tests the CN_JAC rules for the unit hypercube
with the Jacobi weight.
-
cn_jac_test.m,
tests the CN_JAC rules for the unit hypercube
with the Jacobi weight and a particular monomial.
-
stroud_test167.m,
tests the CN_LEG rules for the unit hypercube
with the Legendre weight.
-
cn_leg_test.m,
tests the CN_LEG rules for the unit hypercube
with the Legendre weight and a particular monomial.
-
stroud_test17.m,
tests CONE_UNIT_3D and CONE_VOLUME_3D.
-
stroud_test18.m,
tests CUBE_SHELL_ND.
-
stroud_test19.m,
tests CUBE_UNIT_3D, CUBE_UNIT_ND, QMULT_3D and RECTANGLE_3D.
-
stroud_test20.m,
tests CUBE_UNIT_ND.
-
stroud_test205.m,
tests ELLIPSE_AREA_2D, ELLIPSE_CIRCUMFERENCE_2D and ELLIPSE_ECCENTRICITY_2D.
-
stroud_test207.m,
tests EN_R2 rules for various monomials.
-
en_r2_test.m,
tests EN_R2 rules for a particular monomial.
-
stroud_test2075.m,
tests EPN_GLG rules for various monomials.
-
epn_glg_test.m,
tests EPN_GLG rules for a particular monomial.
-
stroud_test208.m,
tests EPN_LAG rules for various monomials.
-
epn_lag_test.m,
tests EPN_LAG rules for a particular monomial.
-
stroud_test21.m,
tests HEXAGON_UNIT_SET and HEXAGON_SUM.
-
stroud_test215.m,
tests LENS_HALF_2D.
-
stroud_test22.m,
tests OCTAHEDRON_UNIT_ND.
-
stroud_test23.m,
tests PARALLELIPIPED_VOLUME_ND.
-
stroud_test24.m,
tests POLYGON_1_2D, POLYGON_X_2D, POLYGON_Y_2D, POLYGON_XX_2D,
POLYGON_XY_2D and POLYGON_YY_2D.
-
stroud_test25.m,
tests PYRAMID_UNIT_O**_3D and PYRAMID_UNIT_VOLUME_3D.
-
stroud_test255.m,
tests PYRAMID_UNIT_MONOMIAL_3D.
-
stroud_test26.m,
tests QMULT_1D.
-
stroud_test27.m,
tests SIMPLEX_ND.
-
stroud_test28.m,
tests SIMPLEX_VOLUME_ND.
-
stroud_test29.m,
tests SIMPLEX_UNIT_01_ND, SIMPLEX_UNIT_03_ND,
SIMPLEX_UNIT_05_ND and SIMPLE_UNIT_05_2_ND.
-
stroud_test30.m,
tests SPHERE_UNIT_07_3D, SPHERE_UNIT_11_3D, SPHERE_UNIT_14_3D
and SPHERE_UNIT_15_3D.
-
stroud_test31.m,
tests SPHERE_UNIT_03_ND, SPHERE_UNIT_04_ND, SPHERE_UNIT_05_ND,
SPHERE_UNIT_07_1_ND, SPHERE_UNIT_07_2_ND and SPHERE_UNIT_11_ND.
-
stroud_test32.m,
tests SPHERE_05_ND and SPHERE_07_1_ND.
-
stroud_test322.m,
tests SPHERE_CAP_AREA_3D and SPHERE_CAP_AREA_ND.
-
stroud_test324.m,
tests SPHERE_CAP_VOLUME_2D and SPHERE_CAP_VOLUME_ND.
-
stroud_test326.m,
tests SPHERE_CAP_VOLUME_3D and SPHERE_CAP_VOLUME_ND.
-
stroud_test33.m,
tests SPHERE_CAP_AREA_ND.
-
stroud_test335.m,
tests SPHERE_SHELL_03_ND.
-
stroud_test34.m,
tests SPHERE_UNIT_AREA_ND.
-
stroud_test345.m,
tests SPHERE_UNIT_VOLUME_ND, SPHERE_UNIT_VOLUME_VALUES.
-
stroud_test35.m,
tests SQUARE_UNIT_SET and RECTANGLE_SUB_2D.
-
stroud_test36.m,
tests SQUARE_UNIT_SET and SQUARE_SUM.
-
stroud_test37.m,
tests SQUARE_UNIT_SET and SQUARE_SUM.
-
stroud_test38.m,
tests TETRA_07 and TETRA_TPRODUCT.
-
stroud_test39.m,
tests TETRA_UNIT_SET and TETRA_UNIT_SUM.
-
stroud_test40.m,
tests TETRA_UNIT_SET and TETRA_SUM.
-
stroud_test41.m,
tests TRIANGLE_UNIT_SET and TRIANGLE_SUB.
-
stroud_test42.m,
tests TRIANGLE_UNIT_SET and TRIANGLE_UNIT_SUM.
-
stroud_test425.m,
tests TRIANGLE_UNIT_SET.
-
stroud_test43.m,
tests TRIANGLE_UNIT_PRODUCT_SET and TRIANGLE_UNIT_SUM.
-
stroud_test44.m,
tests TRIANGLE_UNIT_SET and TRIANGLE_SUM.
-
stroud_test45.m,
tests TORUS_1.
-
stroud_test46.m,
tests TORUS_5S2, TORUS_6S2 and TORUS_14S.
-
stroud_test47.m,
tests TORUS_SQUARE_5C2 and TORUS_SQUARE_14C.
-
stroud_test48.m,
tests TVEC_EVEN, TVEC_EVEN2, TVEC_EVEN3.
-
stroud_test49.m,
tests TVEC_EVEN_BRACKET, TVEC_EVEN_BRACKET2, TVEC_EVEN_BRACKET3.
-
f_1_2d.m,
returns the function 1 in 2D.
-
f_x_2d.m,
returns the function X in 2D.
-
f_r_2d.m,
returns the function R in 2D.
-
fl_18.m,
returns the lower limit of integration as a function of X.
-
fl_28.m,
returns the lower limit of integration as a function of X and Y.
-
fu_18.m,
returns the upper limit of integration as a function of X.
-
fu_28.m,
returns the upper limit of integration as a function of X and Y.
-
function_1d.m,
evaluates the current 1D function.
-
function_1d_name.m,
returns the name of the current 1D function.
-
function_1d_num.m,
returns the number of 1D functions.
-
function_1d_set.m,
sets or gets the current 1D function.
-
function_2d.m,
evaluates the current 2D function.
-
function_2d_name.m,
returns the name of the current 2D function.
-
function_2d_num.m,
returns the number of 2D functions.
-
function_2d_set.m,
sets or gets the current 2D function.
-
function_3d.m,
evaluates the current 3D function.
-
function_3d_name.m,
returns the name of the current 3D function.
-
function_3d_num.m,
returns the number of 3D functions.
-
function_3d_set.m,
sets or gets the current 3D function.
-
func_nd.m,
evaluates the current ND function.
-
function_nd_name.m,
returns the name of the current ND function.
-
function_nd_num.m,
returns the number of ND functions.
-
funcset.m,
sets or gets the index of the current ND function.
-
mono_000_3d.m,
evaluates the monomial F(X,Y,Z)=1.
-
mono_111_3d.m,
evaluates the monomial F(X,Y,Z)=X*Y*Z.
-
mono_202_3d.m,
evaluates the monomial F(X,Y,Z)=X^2*Z^2.
-
mono_422_3d.m,
evaluates the monomial F(X,Y,Z)=X^4*Y^2*Z^2.
-
setsim.m,
returns the vertices of a simplex in ND.
Last revised on 22 March 2019.