Non-Nested Double Integrated Java Library

I am looking for a java library that computes a double integral without the need for their nesting. I already found a library that allows me to do the following:

    Integral of x*x*{integral of y*y} for x between 0 and 1 and for y between x and 5

When I need to solve the inner integral first, I can solve the outer integral. This works great if

    f(x,y) = x^2 * y^2 can be seperated into two functions, g(x) = x^2 and h(y) = y^2. 

However, I need to integrate the following:

    Integral of e^((x-y)^2) for x between 5 and 10 and y between 3 and 7

there is a library that allows me to call something like this

    Integrate (e^((x-y)^2), {x,5,10}, {y,3;7})

I need it to be a Java library, not an external tool, because all the code is best exported as a library and used on an Android phone.

+3
source share

All Articles