|
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 53 of file rcpp_table.h.
|
inline |
Definition at line 57 of file rcpp_table.h.
|
inline |
Definition at line 59 of file rcpp_table.h.
|
inline |
Definition at line 76 of file rcpp_table.h.
|
inline |
Definition at line 90 of file rcpp_table.h.
|
inline |
Definition at line 99 of file rcpp_table.h.
|
inline |
Definition at line 103 of file rcpp_table.h.
|
inline |
Definition at line 85 of file rcpp_table.h.
|
inline |
Definition at line 66 of file rcpp_table.h.
|
inline |
Definition at line 71 of file rcpp_table.h.
| int NumericInterpolate::n |
Definition at line 56 of file rcpp_table.h.
| NumericVector NumericInterpolate::slope |
Definition at line 55 of file rcpp_table.h.
| NumericVector NumericInterpolate::x |
Definition at line 55 of file rcpp_table.h.
| NumericVector NumericInterpolate::y |
Definition at line 55 of file rcpp_table.h.
1.8.17