-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Further work on the storage optimizer.
- Loading branch information
Showing
7 changed files
with
580 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Generated by using Rcpp::compileAttributes() -> do not edit by hand | ||
# Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393 | ||
|
||
lowest_double <- function() { | ||
.Call(`_alabaster_matrix_lowest_double`) | ||
} | ||
|
||
highest_double <- function() { | ||
.Call(`_alabaster_matrix_highest_double`) | ||
} | ||
|
||
collect_double_attributes <- function(x) { | ||
.Call(`_alabaster_matrix_collect_double_attributes`, x) | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#' @import alabaster.base rhdf5 | ||
#' @importFrom Rcpp sourceCpp | ||
#' @useDynLib alabaster.matrix, .registration=TRUE | ||
NULL |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
// Generated by using Rcpp::compileAttributes() -> do not edit by hand | ||
// Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393 | ||
|
||
#include <Rcpp.h> | ||
|
||
using namespace Rcpp; | ||
|
||
#ifdef RCPP_USE_GLOBAL_ROSTREAM | ||
Rcpp::Rostream<true>& Rcpp::Rcout = Rcpp::Rcpp_cout_get(); | ||
Rcpp::Rostream<false>& Rcpp::Rcerr = Rcpp::Rcpp_cerr_get(); | ||
#endif | ||
|
||
// lowest_double | ||
double lowest_double(); | ||
RcppExport SEXP _alabaster_matrix_lowest_double() { | ||
BEGIN_RCPP | ||
Rcpp::RObject rcpp_result_gen; | ||
rcpp_result_gen = Rcpp::wrap(lowest_double()); | ||
return rcpp_result_gen; | ||
END_RCPP | ||
} | ||
// highest_double | ||
double highest_double(); | ||
RcppExport SEXP _alabaster_matrix_highest_double() { | ||
BEGIN_RCPP | ||
Rcpp::RObject rcpp_result_gen; | ||
rcpp_result_gen = Rcpp::wrap(highest_double()); | ||
return rcpp_result_gen; | ||
END_RCPP | ||
} | ||
// collect_double_attributes | ||
Rcpp::List collect_double_attributes(Rcpp::NumericVector x); | ||
RcppExport SEXP _alabaster_matrix_collect_double_attributes(SEXP xSEXP) { | ||
BEGIN_RCPP | ||
Rcpp::RObject rcpp_result_gen; | ||
Rcpp::traits::input_parameter< Rcpp::NumericVector >::type x(xSEXP); | ||
rcpp_result_gen = Rcpp::wrap(collect_double_attributes(x)); | ||
return rcpp_result_gen; | ||
END_RCPP | ||
} | ||
|
||
static const R_CallMethodDef CallEntries[] = { | ||
{"_alabaster_matrix_lowest_double", (DL_FUNC) &_alabaster_matrix_lowest_double, 0}, | ||
{"_alabaster_matrix_highest_double", (DL_FUNC) &_alabaster_matrix_highest_double, 0}, | ||
{"_alabaster_matrix_collect_double_attributes", (DL_FUNC) &_alabaster_matrix_collect_double_attributes, 1}, | ||
{NULL, NULL, 0} | ||
}; | ||
|
||
RcppExport void R_init_alabaster_matrix(DllInfo *dll) { | ||
R_registerRoutines(dll, NULL, CallEntries, NULL, NULL); | ||
R_useDynamicSymbols(dll, FALSE); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.