public class IntegrationUtils
extends java.lang.Object
Constructor and Description |
---|
IntegrationUtils() |
Modifier and Type | Method and Description |
---|---|
static double |
integrate(java.util.function.DoubleUnaryOperator integrand,
double lowerBound,
double upperBound,
int numPoints) |
static double |
integrate2d(java.util.function.ToDoubleBiFunction<java.lang.Double,java.lang.Double> getIntegrand,
double xLowerBound,
double xUpperBound,
int xNumPoints,
double yLowerBound,
double yUpperBound,
int yNumPoints) |
public static double integrate(java.util.function.DoubleUnaryOperator integrand, double lowerBound, double upperBound, int numPoints)
public static double integrate2d(java.util.function.ToDoubleBiFunction<java.lang.Double,java.lang.Double> getIntegrand, double xLowerBound, double xUpperBound, int xNumPoints, double yLowerBound, double yUpperBound, int yNumPoints)