get_tensor_product_piecewise_polynomial_quadrature_rule

pyapprox.surrogates.get_tensor_product_piecewise_polynomial_quadrature_rule(nsamples_1d, ranges, degree=1)[source]

Compute the nodes and weights needed to integrate a 2D function using piecewise linear interpolation