Mathematica question
- From: mfedert@xxxxxxxxx
- Date: Mon, 16 Jul 2007 05:15:38 -0000
Hi everyone,
I want to define an N-dimensional definite integral in mathematica.
(It's going to be a numerical integration rather than symbolic.)
Eg,
compute integral of f(x) dx
where x can be an N-vector. I don't want to have to specify N in the
definition (although obviously before evaluating the integral, I'll
specify N). I can't think how to define the range of integration in a
neat way in the general case. Eg if the variables are x_{1},
x_{2}, ... x_{N}, how can I specify that the integration range is
(say) R^{N}?
Something like
NIntegrate[ f(x), {x_{1}, -inf, inf}, {x_{2}, -inf, inf}, ..., {x_{N},
-inf, inf} ]
is what I want - but you can't put in the dots obviously...
There must be a neat way to do this. Anyone know it?
Cheers,
MF
.
- Follow-Ups:
- Re: Mathematica question
- From: Herman Rubin
- Re: Mathematica question
- From: José Carlos Santos
- Re: Mathematica question
- Prev by Date: Re: cube root of a given number
- Next by Date: Re: ~*^*^ 18 Year Old TITS! **^*^*
- Previous by thread: hottest celebrity pictures/photo
- Next by thread: Re: Mathematica question
- Index(es):
Relevant Pages
|
Loading