R/RcppExports.R

Defines functions blocksum

Documented in blocksum

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

#' Compute the block-wise sum of a vector.
#'
#'
#' @param r An integer vector
#' @param c The number of observations in each block
#' @return The function returns the block sum of the vector.
#' @export
blocksum <- function(r, c) {
    .Call(`_SIT_blocksum`, r, c)
}

Try the SIT package in your browser

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

SIT documentation built on Oct. 16, 2024, 9:06 a.m.