FIMS  v0.8.0
Loading...
Searching...
No Matches
rcpp_math.hpp
Go to the documentation of this file.
1
9#ifndef FIMS_INTERFACE_RCPP_RCPP_OBJECTS_MATH_HPP
10#define FIMS_INTERFACE_RCPP_RCPP_OBJECTS_MATH_HPP
11
13#include "../../../common/fims_math.hpp"
14
23double logit_rcpp(double a, double b, double x) {
24 return fims_math::logit<double>(a, b, x);
25}
26
35double inv_logit_rcpp(double a, double b, double logit_x) {
36 return fims_math::inv_logit<double>(a, b, logit_x);
37}
38
39#endif
void clear_internal()
Clears the internal objects.
Definition rcpp_interface.hpp:279
The Rcpp interface to declare objects that are used ubiquitously throughout the Rcpp interface,...
double inv_logit_rcpp(double a, double b, double logit_x)
A rcpp interface to the inverse-logit function.
Definition rcpp_math.hpp:35
double logit_rcpp(double a, double b, double x)
A rcpp interface to the logit function.
Definition rcpp_math.hpp:23