winterfors
- 70
- 0
I would need to evaluate the integral
\int\limits_{x\in S}[x+x_A]^TA[x+x_A]\exp\left(-\frac{1}{4}[x+x_B]^TB[x+x_B]\right)dx
where
x is a column n-vector
x_A and x_B are column n-vector constants
A and B are n\times n (symmetrical) matrices
taken over the volume S, which is a n-simplex* in \Re^n.
*A simplex is the convex hull of (volume between) n+1 points in \Re^n. In \Re^2 a simplex is a triangle, in \Re^3 a tetrahedron, etc. See http://en.wikipedia.org/wiki/SimplexI have tried to do it analytically, but the interdependence of the integration limits in each dimension (since it's over a simplex) make Matematica or Maple fail to evaluate even simple cases such as for n=2.
Approximating the integrand as a multivariate Taylor series makes it easier to integrate, but does not approximate the integrand very well if you truncate the series at a reasonable degree (the number of terms grows exponentially with the degree for a multivariate Taylor expansion)
Monte Carlo approximation isn't really an option, since I need high numerical efficiency in the evaluation, so I'm really at a loss what to to here.Does anyone have an idea?
\int\limits_{x\in S}[x+x_A]^TA[x+x_A]\exp\left(-\frac{1}{4}[x+x_B]^TB[x+x_B]\right)dx
where
x is a column n-vector
x_A and x_B are column n-vector constants
A and B are n\times n (symmetrical) matrices
taken over the volume S, which is a n-simplex* in \Re^n.
*A simplex is the convex hull of (volume between) n+1 points in \Re^n. In \Re^2 a simplex is a triangle, in \Re^3 a tetrahedron, etc. See http://en.wikipedia.org/wiki/SimplexI have tried to do it analytically, but the interdependence of the integration limits in each dimension (since it's over a simplex) make Matematica or Maple fail to evaluate even simple cases such as for n=2.
Approximating the integrand as a multivariate Taylor series makes it easier to integrate, but does not approximate the integrand very well if you truncate the series at a reasonable degree (the number of terms grows exponentially with the degree for a multivariate Taylor expansion)
Monte Carlo approximation isn't really an option, since I need high numerical efficiency in the evaluation, so I'm really at a loss what to to here.Does anyone have an idea?
Last edited: