Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added ade4.h and its usage #31

Open
wants to merge 1 commit into
base: ade4-Rcpp
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions inst/include/ade4.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#include <RcppArmadillo.h>
int matcentrageCpp (arma::mat& A, const arma::vec& poili, const int typ);
1 change: 1 addition & 0 deletions src/Makevars
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
PKG_CPPFLAGS = -I../inst/include
PKG_LIBS = $(LAPACK_LIBS) $(BLAS_LIBS) $(FLIBS)

2 changes: 2 additions & 0 deletions src/testertracenuCpp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ using namespace arma;

// [[Rcpp::depends(RcppArmadillo)]]

#include <ade4.h>

// [[Rcpp::export]]
/*****************/
arma::vec testertracenuCpp(int npermut,
Expand Down
1 change: 1 addition & 0 deletions src/testertracenubisCpp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ using namespace arma;
#include <Rcpp.h>

// [[Rcpp::depends(RcppArmadillo)]]
#include <ade4.h>

// [[Rcpp::export]]
/*****************/
Expand Down