Calculates the integral of a function defined by a series of points.
More...
#include <gin_integrator.h>
Calculates the integral of a function defined by a series of points.
Points must be added in increasing x order
◆ clear()
void Integrator::clear |
( |
| ) |
|
◆ getIntegral()
double Integrator::getIntegral |
( |
| ) |
|
◆ addPoint() [1/2]
void Integrator::addPoint |
( |
double |
x, |
|
|
double |
y |
|
) |
| |
◆ addPoint() [2/2]
void Integrator::addPoint |
( |
Point< double > |
point | ) |
|
◆ addPoints()
void Integrator::addPoints |
( |
juce::Array< Point< double > > |
points | ) |
|
The documentation for this class was generated from the following file: