Discontinuous Galerkin Library
#include "dg/algorithm.h"
|
\( f(x) = y_1\frac{x-x_0}{x_1-x_0} + y_0\frac{x-x_1}{x_0-x_1}\) More...
Public Member Functions | |
Line (double x0, double y0, double x1, double y1) | |
double | operator() (double x) |
\( f(x) = y_1\frac{x-x_0}{x_1-x_0} + y_0\frac{x-x_1}{x_0-x_1}\)
The linear interpolation polynomial
|
inline |
|
inline |