MVE - Multi-View Environment mve-devel
Loading...
Searching...
No Matches
Namespaces | Enumerations | Functions
hermite.h File Reference
#include "fssr/defines.h"
Include dependency graph for hermite.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  fssr
 

Enumerations

enum  fssr::InterpolationType { fssr::INTERPOLATION_LINEAR , fssr::INTERPOLATION_SCALING , fssr::INTERPOLATION_LSDERIV , fssr::INTERPOLATION_CUBIC }
 

Functions

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.