INNER CODE UNIT · C++
_sigminer_cosineVector
ShixiangWang/sigminer · src/RcppExports.cpp:15
RcppExport SEXP _sigminer_cosineVector(SEXP xSEXP, SEXP ySEXP) {
BEGIN_RCPP
Rcpp::RObject rcpp_result_gen;
Rcpp::RNGScope rcpp_rngScope_gen;
Rcpp::traits::input_parameter< NumericVector >::type x(xSEXP);
Rcpp::traits::input_parameter< NumericVector >::type y(ySEXP);
rcpp_result_gen = Rcpp::wrap(cosineVector(x, y));
return rcpp_result_gen;
END_RCPP
}
// cosineMatrix
NumericMatrix cosineMatrix(NumericMatrix x, NumericMatrix y);
RcppExport SEXP _sigminer_cosineMatrix(SEXP xSEXP, SEXP ySEXP) {
BEGIN_RCPP
Rcpp::RObject rcpp_result_gen;
Rcpp::RNGScope rcpp_rngScope_gen;
Rcpp::traits::input_parameter< NumericMatrix >::type x(xSEXP);
Rcpp::traits::input_parameter< NumericMatrix >::type y(ySEXP);