R/RcppExports.R

Defines functions AddWeightedSlices_Rcpp AddSlices_Rcpp

Documented in AddSlices_Rcpp AddWeightedSlices_Rcpp

# Generated by using Rcpp::compileAttributes() -> do not edit by hand
# Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393

#' Add slices and return vector of the sums of slices
#'
#' @param slicematrix A matrix of slices.
#' @return Returns the vector of the sums of the slices
#' @export
AddSlices_Rcpp <- function(slicematrix) {
    .Call(`_ambit_AddSlices_Rcpp`, slicematrix)
}

#' Add slices and return vector of the weighted sums of slices
#'
#' @param slicematrix A matrix of slices.
#' @param weightvector A vector of weights.
#' @return Returns the vector of the weighted sums of the slices
#' @export
AddWeightedSlices_Rcpp <- function(slicematrix, weightvector) {
    .Call(`_ambit_AddWeightedSlices_Rcpp`, slicematrix, weightvector)
}

Try the ambit package in your browser

Any scripts or data that you put into this service are public.

ambit documentation built on Aug. 19, 2022, 5:19 p.m.