Re: Integrating over a Minimum
- To: mathgroup at smc.vnet.net
- Subject: [mg32962] Re: Integrating over a Minimum
- From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
- Date: Fri, 22 Feb 2002 01:48:43 -0500 (EST)
- Organization: Universitaet Leipzig
- References: <a526ik$264$1@smc.vnet.net>
- Reply-to: kuska at informatik.uni-leipzig.de
- Sender: owner-wri-mathgroup at wolfram.com
Hi, you need Mathematica 4.1 and the phantastic Integration package Needs["Calculus`Integration`"] Integrate[If[x < y, x, y], {y, 0, 1}, {x, 0, 1}] Regards Jens Moritz Meyer-ter-Vehn wrote: > > Hi, > > I want to integrate piecewise linear functions over a highdimensional > space. The ranges where the function is linear are given by linear > inequality constraints. > > Example: Integrate[Min[x,y],{y,0,1},{x,0,1}] > (of course that is not the one I really want to solve) > > I could not get matematica to do this. > > Moritz Meyer-ter-Vehn