Gin
|
Calculates the integral of a function defined by a series of points. More...
Public Member Functions | |
void | clear () |
double | getIntegral () |
void | addPoint (double x, double y) |
void | addPoint (Point< double > point) |
void | addPoints (juce::Array< Point< double >> points) |
Calculates the integral of a function defined by a series of points.
Points must be added in increasing x order
void Integrator::clear | ( | ) |
double Integrator::getIntegral | ( | ) |
void Integrator::addPoint | ( | double | x, |
double | y | ||
) |
void Integrator::addPoint | ( | Point< double > | point | ) |
void Integrator::addPoints | ( | juce::Array< Point< double >> | points | ) |