- SEXP fcwt_; //the filtered result
- PROTECT(fcwt_ = allocMatrix(REALSXP, L, D));
- double* fcwt = REAL(fcwt_); //pointer to the encapsulated vector
+ SEXP fM_; //the filtered result
+ PROTECT(fM_ = allocMatrix(REALSXP, L, D));
+ double* fM = REAL(fM_); //pointer to the encapsulated vector