Microsimulation API
|
#include <rcpp_table.h>
Public Member Functions | |
NumericInterpolate () | |
NumericInterpolate (DataFrame df, int i0=0, int i1=1) | |
void | prepare () |
void | push_back (pair< double, double > xy) |
double | approx (double xfind) |
double | operator() (double xfind) |
double | invert (double yfind) |
double | invert (double yfind, double xentry) |
double | invert_decreasing (double yfind) |
Public Attributes | |
NumericVector | x |
NumericVector | y |
NumericVector | slope |
int | n |
Class for numerical interpolation for x and y. Includes methods to read in x and y from a data-frame or from pairs of (x,y). Includes methods for linear approximation (approx, x->y) and inversion of increasing (invert) and decreasing (invert_decreasing) values (y->x). Includes an operator for a stepwise, left continuous function x->y.
Definition at line 52 of file rcpp_table.h.
|
inline |
Definition at line 56 of file rcpp_table.h.
|
inline |
Definition at line 58 of file rcpp_table.h.
|
inline |
Definition at line 75 of file rcpp_table.h.
|
inline |
Definition at line 89 of file rcpp_table.h.
|
inline |
Definition at line 98 of file rcpp_table.h.
|
inline |
Definition at line 102 of file rcpp_table.h.
|
inline |
Definition at line 84 of file rcpp_table.h.
|
inline |
Definition at line 65 of file rcpp_table.h.
|
inline |
Definition at line 70 of file rcpp_table.h.
int NumericInterpolate::n |
Definition at line 55 of file rcpp_table.h.
NumericVector NumericInterpolate::slope |
Definition at line 54 of file rcpp_table.h.
NumericVector NumericInterpolate::x |
Definition at line 54 of file rcpp_table.h.
NumericVector NumericInterpolate::y |
Definition at line 54 of file rcpp_table.h.