R/RcppExports.R

Defines functions eigenMatMult eigenMapMatMult

Documented in eigenMapMatMult eigenMatMult

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

#' Matrix Multiplication using RcppEigen
#'
#' Matrix multiplication of the two matrices in input, without copy.
#' @param A numeric matrix of dimension \eqn{m \times n}
#' @param B numeric matrix of dimension \eqn{n \times l}
#' @return C matrix of dimension \eqn{m \times p} of the row-column product of A and B and C
#' @export
eigenMapMatMult <- function(A, B) {
    .Call(`_diffudist_eigenMapMatMult`, A, B)
}

#' Matrix Multiplication using RcppEigen
#'
#' Matrix multiplication of the two matrices in input.
#' @param A numeric matrix of dimension \eqn{m \times n}
#' @param B numeric matrix of dimension \eqn{n \times l}
#' @return C matrix of dimension \eqn{m \times p} of the row-column product of A and B and C
#' @export
eigenMatMult <- function(A, B) {
    .Call(`_diffudist_eigenMatMult`, A, B)
}

Try the diffudist package in your browser

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

diffudist documentation built on March 7, 2023, 6:12 p.m.