GaussLegendreHist: 1d quadrature transformation¶
Description¶
Computes 1d Gauss-Legendre quadrature for a 1d function. Produces histogram as the output. The transformation is used in pair with GaussLegendre.
Arguments¶
GaussLegendre instance.
Inputs¶
hist.f
— function, computed on sample pointspoints.x
of the corresponding GaussLegendre instance.
Outputs¶
hist.hist
— the histogram.
./tests/elementary/test_integral_gl1d.py -s
Implementation¶
See Implementation for description.