mirror of
				https://github.com/msberends/AMR.git
				synced 2025-11-04 01:44:02 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			43 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			43 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			C++
		
	
	
	
	
	
// Generated by using Rcpp::compileAttributes() -> do not edit by hand
 | 
						|
// Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393
 | 
						|
 | 
						|
#include <Rcpp.h>
 | 
						|
 | 
						|
using namespace Rcpp;
 | 
						|
 | 
						|
// rsi_calc_S
 | 
						|
int rsi_calc_S(DoubleVector x, bool include_I);
 | 
						|
RcppExport SEXP _AMR_rsi_calc_S(SEXP xSEXP, SEXP include_ISEXP) {
 | 
						|
BEGIN_RCPP
 | 
						|
    Rcpp::RObject rcpp_result_gen;
 | 
						|
    Rcpp::RNGScope rcpp_rngScope_gen;
 | 
						|
    Rcpp::traits::input_parameter< DoubleVector >::type x(xSEXP);
 | 
						|
    Rcpp::traits::input_parameter< bool >::type include_I(include_ISEXP);
 | 
						|
    rcpp_result_gen = Rcpp::wrap(rsi_calc_S(x, include_I));
 | 
						|
    return rcpp_result_gen;
 | 
						|
END_RCPP
 | 
						|
}
 | 
						|
// rsi_calc_R
 | 
						|
int rsi_calc_R(DoubleVector x, bool include_I);
 | 
						|
RcppExport SEXP _AMR_rsi_calc_R(SEXP xSEXP, SEXP include_ISEXP) {
 | 
						|
BEGIN_RCPP
 | 
						|
    Rcpp::RObject rcpp_result_gen;
 | 
						|
    Rcpp::RNGScope rcpp_rngScope_gen;
 | 
						|
    Rcpp::traits::input_parameter< DoubleVector >::type x(xSEXP);
 | 
						|
    Rcpp::traits::input_parameter< bool >::type include_I(include_ISEXP);
 | 
						|
    rcpp_result_gen = Rcpp::wrap(rsi_calc_R(x, include_I));
 | 
						|
    return rcpp_result_gen;
 | 
						|
END_RCPP
 | 
						|
}
 | 
						|
 | 
						|
static const R_CallMethodDef CallEntries[] = {
 | 
						|
    {"_AMR_rsi_calc_S", (DL_FUNC) &_AMR_rsi_calc_S, 2},
 | 
						|
    {"_AMR_rsi_calc_R", (DL_FUNC) &_AMR_rsi_calc_R, 2},
 | 
						|
    {NULL, NULL, 0}
 | 
						|
};
 | 
						|
 | 
						|
RcppExport void R_init_AMR(DllInfo *dll) {
 | 
						|
    R_registerRoutines(dll, NULL, CallEntries, NULL, NULL);
 | 
						|
    R_useDynamicSymbols(dll, FALSE);
 | 
						|
}
 |