Gin
|
Calculates the integral of a function defined by a series of points. More...
#include <gin_integrator.h>
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 | ( | ) |