|
|
| IntegralScan (double a, double b, double eps, ToDoubleFunction< Double > f) |
| |
| IntegralScanResult | scan () |
| | Returns samples of (g(t) = \int_a^t f(x) \, dx) for various values (a \leq t \leq b).
|
| |
◆ scan()
| IntegralScanResult org.firstinspires.ftc.teamcode.Util.IntegralScan.scan |
( |
| ) |
|
Returns samples of (g(t) = \int_a^t f(x) \, dx) for various values (a \leq t \leq b).
The sampling points are chosen adaptively using the algorithm adaptsim from Gander and Gautschi (more accessible link).
- Parameters
-
| [a] | (a) |
| [b] | (b) |
| [f] | (f(x)) |
| [eps] | desired error in the length approximation (g(b)) |
The documentation for this class was generated from the following file:
- CenterStage/TeamCode/src/main/java/org/firstinspires/ftc/teamcode/Util/IntegralScan.java