#include <algorithm>
#include <cmath>
#include <sstream>
#include <stdexcept>
#include "fssr/hermite.h"
Go to the source code of this file.
|
double | fssr::find_root_cubic (double a0, double a1, double a2, double a3) |
| Finds the root of a cubic function f(x) = a0 + a1 * x + a2 * x^2 + a3 * x^3.
|
|
double | fssr::find_root_linear (double a0, double a1) |
| Finds the root of a linear function f(x) = a0 + a1(x).
|
|
double | fssr::find_root_square (double a0, double a1, double a2) |
| Finds the root of a quadratic function f(x) = a0 + a1 * x + a2 * x^2.
|
|
double | fssr::interpolate_root (double v0, double v1, double d0, double d1, InterpolationType type=INTERPOLATION_CUBIC) |
| Interpolates the root of an unknown function f(x) given value and derivative constraints: f(0) = v0, f(1) = v1, f'(0) = d0, f'(1) = d1.
|
|
◆ EPSILON